Use higher maxTimeMS in transaction API unit test

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding NYC 2023-01-23
    • 20
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Transaction API test MaxTimeMSIsSetIfOperationContextHasDeadlineAndIgnoresDefaultRetryLimit verifies the retry limit is ignored if a maxTimeMS has been set. It uses a maxTimeMS of 2 seconds and does not expect it to be reached, but that value is too low and can be hit on a slow machine, leading to a spurious failure. The value should be raised to make the test more resilient.

            Assignee:
            Jack Mulrow
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: