[SERVER-54603] Improve AggregationRequest validation unit tests Created: 18/Feb/21  Updated: 29/Oct/23  Resolved: 11/Mar/21

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

Type: Bug Priority: Major - P3
Reporter: Mindaugas Malinauskas Assignee: Mihai Andrei
Resolution: Fixed Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query Execution 2021-03-08, Query Execution 2021-03-22
Participants:

 Description   

AggregationRequest validation unit tests, like https://github.com/mongodb/mongo/blob/25818a31c7d8209aa8ae22a536f94725aa7fa21e/src/mongo/db/pipeline/aggregation_request_test.cpp#L466, do not precisely distinguish the outputs and, therefore, run a risk of not catching AggregationRequest validation bugs. The same error code is used to report multiple error conditions, and more precise validation error cause can only be determined by examining the error message.



 Comments   
Comment by Githook User [ 11/Mar/21 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}

Message: SERVER-54603 Improve AggregationRequest validation unit tests
Branch: master
https://github.com/mongodb/mongo/commit/7e696264a26fd430ac546f7793dc59f95a6fc8d3

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