Replace assert with assert.soon for checking currentOp

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2023-03-06
    • 141
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The test write_concern_operation_metrics.js has a portion where we check currentOp for a specific field. On slow machines this can be an issue if the currentOp query is made before the op is processed by the server. Replace the assert with assert.soon

            Assignee:
            Sean Zimmerman
            Reporter:
            Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: