Commit 3de9757
committed
catalog/lease: fix flake for TestTableCreationPushesTxnsInRecentPast
Previously, TestTableCreationPushesTxnsInRecentPast could flake because
we attempted to increase odds of hitting the uncertainty interval error
by adding a delay on KV RPC calls. This wasn't effective and could still
intermittent failures, and instead we are going to directly modify the
uncertainty interval by setting a large MaxOffset on the clock. This
will cause the desired behaviour in a more deterministic way.
Fixes: #114366
Release note: None1 parent f71ed12 commit 3de9757
2 files changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
2028 | 2027 | | |
2029 | 2028 | | |
2030 | 2029 | | |
2031 | | - | |
2032 | | - | |
2033 | | - | |
2034 | | - | |
2035 | | - | |
2036 | | - | |
| 2030 | + | |
| 2031 | + | |
2037 | 2032 | | |
2038 | 2033 | | |
2039 | 2034 | | |
| |||
0 commit comments