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

retryable_writes_mmap.js should use assert.commandFailedWithCode

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • ALL

      SERVER-31335 changed the behavior of some assert.js helpers, and as a result, retryable_writes_mmap.js fails to find an expected error code because it is returned as a WriteCommandError, but the test is using assert.writeErrorWithCode, which now ignores that class of errors. The test should be updated to use assert.commandFailedWithCode instead.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: