[SERVER-64658] Increase transactionLifetimeLimitSeconds in txn_two_phase_commit_failure.js Created: 18/Mar/22  Updated: 29/Oct/23  Resolved: 19/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-56320 txn_two_phase_commit_failure.js has a... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 33

 Description   

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.



 Comments   
Comment by Githook User [ 18/Mar/22 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-64658 Increase transactionLifetimeLimitSeconds in txn_two_phase_commit_failure.js
Branch: master
https://github.com/mongodb/mongo/commit/436c8f095710ffd5f582eafd063db635a93a77c0

Generated at Thu Feb 08 06:00:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.