-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
QO 2023-06-26
-
5
BF-29108 has BFGs attached from tons of different tests, even though the error itself only has to do with $geoNear queries. This is because the query stats store is not cleared between tests, and so when we call $queryStats from the background job, we're re-parsing queries from previous tests that ran in the suite. We should modify the suite to:
1. Always call $queryStats after a test has completed before moving on to the next test
2. Clear the query stats store after a test has completed before moving on to the next test