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

Write more extensive unit tests of validateBSON()

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 5.0.0
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible

    Description

      The validateBSON tests need improvement, in that they do not actively attempt to circumvent the validator. There are no tests of objects that are valid if you overrun the buffer, but not otherwise, no specific tests of subobjects that claim to be too large, etc. There are also only a few targeted tests of validating/rejecting specific field types.

      Attachments

        Activity

          People

            geert.bosch@mongodb.com Geert Bosch
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: