Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31167

Add document validation tests for $jsonSchema

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.0-rc0
    • None
    • Querying
    • None
    • Fully Compatible
    • Query 2017-10-02, Query 2017-10-23

    Description

      We need to write more integration tests involving $jsonSchema and document validators:

      • insertion tests with a $jsonSchema validator
      • update tests with a $jsonSchema validator
      • auth tests that exercise bypassDocumentValidation with a $jsonSchema validator

      We can expand the assertSchemaMatch() shell helper to give us coverage for some of these scenarios.

      Attachments

        Activity

          People

            kyle.suarez@mongodb.com Kyle Suarez
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: