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

Use higher maxTimeMS in transaction API unit test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding NYC 2023-01-23
    • 20

    Description

      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.

      Attachments

        Activity

          People

            jack.mulrow@mongodb.com Jack Mulrow
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: