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

explain3.js should assert that its writes succeed

    • Fully Compatible
    • ALL
    • v3.6
    • Query 2017-12-18
    • 0

      The explain3.js test does not check that its writes succeed, but expects all documents to be inserted at the end of the test. If a stepdown occurs, causing writes to fail, then fewer documents will be present at the end of the test.

      The test also does not assert anything about the behavior of an explain that is concurrent with a dropIndex. If we feel this is important to test, we should improve the test to make assertions, rather than just printing any exceptions the explain throws.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: