[SERVER-60780] Wait for completion promise after canceling TransactionCoordinator in TransactionCoordinatorCatalogTest unit tests Created: 18/Oct/21 Updated: 29/Oct/23 Resolved: 18/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| 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: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Sharding 2021-11-01 | ||||
| Participants: | |||||
| Linked BF Score: | 50 | ||||
| Description |
|
This test sometimes hits the invariant in the destructor for TransactionCoordinator because it only waits for the decision promise so the unit test can exit before the completion promise is set. |
| Comments |
| Comment by Githook User [ 18/Oct/21 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: |