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

Replace assert with assert.soon for checking currentOp

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2023-03-06
    • 141

    Description

      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

      Attachments

        Activity

          People

            sean.zimmerman@mongodb.com Sean Zimmerman
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: