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

Ensure operation is hung on failpoint in unionWith_current_op.js

    • Fully Compatible
    • v4.4
    • 7

      The test is trying to verify that $unionWith will show up in the $currentOp output as expected. To do so, it waits for the operation to hang on a failpoint. Unfortunately, the way it checks to see if the operation is hung does not ensure it's actually hit the failpoint yet, it just checks to see it present in the $currentOp output. If the operation fails and needs to be retried for some reason, it will not hit the failpoint. The failpoint it uses hangs only after a command completes successfully.

      Adding a filter on the "failpointMsg" in the $currentOp output should ensure the test is in the state it expects before proceeding. 

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: