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

explain3.js should assert that its writes succeed

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      Query 2017-12-18
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            james.wahlin James Wahlin
            Reporter:
            tess.avitabile Tess Avitabile
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: