[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: |