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

Modify the 3rd party JSON Schema test suite to only test keywords supported by MongoDB

    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

    Description

      There are several tasks as part of this ticket:

      1. Rename instances of the keyword "integer" to "number" in the JSON Schema test suite, as MongoDB does not support "integer". Remove or modify individual test cases if they expect integer functionality.
      2. Update the json_schema_test_runner to validate test cases against a top-level schema when appropriate (data must be a document).
      3. As a consequence of #2, certain test cases that don't expect an _id field will need to be modified.

      Attachments

        Activity

          People

            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: