Ensure currentOp_shell.js tests target the correct operation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc3, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • 45
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The 'currentOp_shell.js' test uses 'assert.soon' to make sure that the operation to be targeted has actually started. However in certain environments like sharded passthroughs the 'assert.soon' can return too early after finding a different operation. We should change the function passed into 'assert.soon' to return true only when it finds the specific operation we expect.

              Assignee:
              Katherine Wu (Inactive)
              Reporter:
              Katherine Wu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: