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

retryable_writes_mmap.js should use assert.commandFailedWithCode

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: