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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query 2020-07-27

      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.

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

              Created:
              Updated:
              Resolved: