Commit ed052b0
authored
The test launches two concurrent restores and wants to verify that
the node with limited disk space is only assigned a single shard from
one of the indices. The test was asserting that it had one shard from
the first index, but it is possible for it to get one shard from the
index copy instead. This change allows the shard to be from either
index, but still asserts there is only one assignment to the tiny node.
Closes #127711
(cherry picked from commit 6263f44)
1 parent e63c65e commit ed052b0
File tree
1 file changed
+12
-4
lines changed- server/src/internalClusterTest/java/org/elasticsearch/cluster/routing/allocation/decider
1 file changed
+12
-4
lines changedLines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
242 | 241 | | |
243 | 242 | | |
244 | 243 | | |
245 | | - | |
| 244 | + | |
246 | 245 | | |
247 | 246 | | |
248 | 247 | | |
| |||
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
271 | | - | |
| 270 | + | |
272 | 271 | | |
273 | 272 | | |
274 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
275 | 283 | | |
276 | 284 | | |
277 | 285 | | |
| |||
0 commit comments