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

Audit use of assert.writeError in sharding tests

    • Cluster Scalability

      A few tests in jstests/sharding use assert.writeError() to verify a command will fail, but this assertion passes with any error code, so it's possible for behavior to change without these tests catching it. We should look through the tests that use this assertion and change them to use assert.commandFailedWithCode() so we can be more confident in our regression testing.

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: