[SERVER-39754] Rewrite `txn_two_phase_commit_killop.js` and `txn_two_phase_commit_failover.js` as unit-tests Created: 22/Feb/19  Updated: 06/Dec/22  Resolved: 12/Mar/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Won't Fix Votes: 0
Labels: todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-39422 Refactor common parts of txn_two_phas... Closed
Related
related to SERVER-43529 Remove TODO listed in SERVER-39754 Closed
Assigned Teams:
Sharding
Participants:

 Description   

The txn_two_phase_commit_killop.js and txn_two_phase_commit_failover.js tests are inscrutable and rely on an exact number of times certain strategically placed failpoints are hit and show up in the log.

These tests would be much better if implemented as unit-tests of the TransactionCoordinator's logic.



 Comments   
Comment by Githook User [ 14/May/20 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-43529 Remove TODO listed in SERVER-39754
Branch: master
https://github.com/mongodb/mongo/commit/7ce851cb82032b78a5f87da60e600a3dec1e9ac7

Generated at Thu Feb 08 04:53:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.