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

Ensure currentOp_shell.js tests target the correct operation

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

      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@mongodb.com Katherine Wu (Inactive)
            Reporter:
            katherine.wu@mongodb.com Katherine Wu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: