-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: QueryTester
-
None
-
Fully Compatible
-
QO 2024-12-23
The error message when there is a mismatch between file name and the first line of a test file (i.e. the test name) should give us information about what is written on the first line of the test file.
If it fails, it will currently print: Expected first test line of src/mongo/db/query/query_tester/tests/query-correctness-tests/generated_tests/1234025/group_3.test to match the test name, but got group_3
but we probably want
Expected first test line of src/mongo/db/query/query_tester/tests/query-correctness-tests/generated_tests/1234025/group_3.test to match the test name, but got <first line of test file>