Commit ee26243
committed
Address flaky transaction tests
Resolves #2841
* Fix test that was source of most failures
* Update max transaction lock time for local container entrypoint
* Update max transaction lock time for github action
---
The majority of failures appeared to be attributed with the
`test_exception_in_child_of_a_nested_transaction_rolls_parent_back` unit test.
To resolve this test, I borrowed the approach taken by the test just below it:
`test_exception_in_parent_of_nested_transaction_after_child_completed_only_rolls_parent_back`
which was already creating a function for the work under test and simply
trapping the TransientTractionError.
After resolving this, I found that the max transaction lock request timeout
parameter needed to be modified. After doing so and letting the test suite run
indefinitely unless error, test failures appeared to have ceased.1 parent 75e7779 commit ee26243
File tree
3 files changed
+32
-15
lines changed- .github/workflows
- tests
3 files changed
+32
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
722 | 730 | | |
723 | | - | |
724 | | - | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
725 | 735 | | |
726 | 736 | | |
727 | 737 | | |
| |||
0 commit comments