Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38181

Modernize jstests/core/index_elemmatch1.js and reduce size of data set

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.6
    • 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
         

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: