-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Fully Compatible
-
ALL
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
comment_field_passthrough.js fails after SERVER-126423 merged the $_internalDocumentResultsAndMetadata translation function.
The test in commands_lib.js correctly marks the DRM test case with expectFailWithErrorCodes: [40228] because $collStats does not produce the {_streamType, payload} format that the translation function's $replaceRoot expects. However, comment_field_passthrough.js only checks testCase.expectFail (boolean), not testCase.expectFailWithErrorCodes (array), so it doesn't recognize the expected failure.
Fix: Update comment_field_passthrough.js to also check testCase.expectFailWithErrorCodes when determining if a command failure is expecte
- is related to
-
SERVER-126423 Register $_documentResultsAndMetadata exec::agg stage translation via REGISTER_AGG_STAGES_MAPPING
-
- Closed
-