Guarantee the deadline actually expires before turning off the failpoint in testCMCCommandWithFailpoint

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0, 8.3.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.3
    • CAR Team 2026-04-13
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When calling testCMCCommandWithFailpoint function with hangShardCheckMetadataBeforeEstablishCursors failpoint, we need to guarantee that the timeout has time to fire while the CMC command is blocked on the failpoint before turning it off.  Otherwise, on a fast machine, the failpoint can be triggered and cleared before the timeout deadline is reached, so the command finishes successfully instead of timing out as expected.

      As part of this ticket, we have to add a sleep for the shortest active deadline before turning off the failpoint. 

            Assignee:
            Anna Maria Nestorov
            Reporter:
            Anna Maria Nestorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: