Use assert.commandWorked in jstests/core/query/or/oro.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • Fully Compatible
    • v8.0
    • Service Arch 2024-04-29, Service Arch 2024-05-13
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This test had a one-off failure due to one of the inserts it does being interrupted by network issues. The failure manifested later as reading back fewer documents than expected, which made it quite hard to debug. We should use commandWorked to make such failures more apparent.

            Assignee:
            Ryan Berryhill
            Reporter:
            Ryan Berryhill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: