-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.1.5
-
Component/s: None
-
None
-
Fully Compatible
-
12
If updating we should:
- modernize test structure, variable declaration and naming
- remove dead code (nscannedForCursor() function)
- wrap database statements with assert.commandWorked
- reduce the size of the data set (from 10K docs to 100)
- remove print statements
- remove tests that do not actually test find with $elemMatch with an index in place