Commit a884f8f
committed
kvserver: deflake TestPromoteNonVoterInAddVoter
This test could previously fail because a lease transfer could race
with a split. Without the split, the effects of the span config
(that the test asserts on) will not apply. We sidestep this problem by
removing the need of a split entirely -- by tuning some cluster settings
to ensure that every table is on its own range to begin with.
H/t to @pav-kv for the analysis on this one.
Closes #155828
Closes #155747
Closes #155316
Closes #154773
Closes #134383
Release note: None1 parent 1656a4c commit a884f8f
File tree
2 files changed
+11
-3
lines changed- pkg
- kv/kvserver
- spanconfig/spanconfigstore
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
2188 | 2189 | | |
2189 | 2190 | | |
2190 | 2191 | | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
2191 | 2198 | | |
2192 | 2199 | | |
2193 | 2200 | | |
2194 | 2201 | | |
2195 | 2202 | | |
2196 | 2203 | | |
2197 | 2204 | | |
| 2205 | + | |
2198 | 2206 | | |
2199 | 2207 | | |
2200 | 2208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
0 commit comments