-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Index Maintenance, Querying, Testing Infrastructure
-
Labels:None
-
Fully Compatible
-
56
The wildcard_index_basic_index_bounds.js integration test is currently taking an excessive amount of time to complete. After some local testing, the source of this excess runtime appears to be the calls to arrayEq, which asserts that two arrays of objects are equivalent regardless of document ordering; we use this to verify that the indexed results are the same as the results of an equivalent COLLSCAN.
[jsTest] ---- [jsTest] Total time spent in arrayEq: 1228.322s [jsTest] ---- ... [executor] 2018-11-02T13:41:39.930+0000 Summary: All 4 test(s) passed in 1313.01 seconds.
So we're spending around 93.5% of our time just comparing arrays. The test should be reworked to avoid this.