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

Replace assert with assert.soon for checking currentOp

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

      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@mongodb.com Sean Zimmerman
            Reporter:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: