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

Write document validation integration tests for $out/$merge/mapReduce

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • None
    • None
    • Query 2020-07-27

    Description

      Update jstests to verify that generated validation errors are propagated correctly under the 'errInfo' field for aggregates which use $out/$merge and for mapReduce commands.

      It appears that 'jstests/core/bypass_doc_validation.js' already has coverage for $out and mapReduce, and separately jstests/aggregation/sources/merge/bypass_doc_validation.js already has coverage for $merge, so these tests should be extended to verify that the 'errInfo' field is propagated for each of the three operations.

      Attachments

        Activity

          People

            jenny.peshansky@mongodb.com Jenny Peshansky (Inactive)
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: