[SERVER-49206] Write document validation integration tests for $out/$merge/mapReduce Created: 30/Jun/20  Updated: 21/Jul/20  Resolved: 21/Jul/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Mihai Andrei Assignee: Jenny Peshansky (Inactive)
Resolution: Done Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Query 2020-07-27
Participants:

 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.



 Comments   
Comment by Githook User [ 21/Jul/20 ]

Author:

{'name': 'Jenny Peshansky', 'email': 'jenny.peshansky@mongodb.com', 'username': 'jenniferpeshansky'}

Message: SERVER-49206 Updated document validation integration tests for $out/$merge/mapReduce
Branch: master
https://github.com/mongodb/mongo/commit/59908157c917357f67dc9982560bae6f1b9008a6

Generated at Thu Feb 08 05:19:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.