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

Increase transactionLifetimeLimitSeconds in txn_two_phase_commit_failure.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 33

      txn_two_phase_commit_failure.js explicitly overwrites TestData.transactionLifetimeLimitSeconds since the default value is 24 hours and the test contains a test case that makes the coordinator hang before writing the participant list and then checks that the transaction is aborted on the coordinator when the transaction times out. It turns out that the current timeout (10 seconds) can cause transactions to expire before the test completes so we should increase the timeout further, maybe 30 seconds like in the other jstests.

      Please this comment in BF-24666 for more info.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: