Commit f96c727
committed
Fix testCloseOrReallocateDuringPartialSnapshot
There's a race between setting a shard as failed
and a concurrent non-partial snapshot, resulting
in a snapshot failure because a primary shard is
not available for backup.
Since the intention of the test is to verify
shard close/failc can proceed while a snapshot
is in progress, there's no need for this extra
randomization.
Closes #1319001 parent 6a64375 commit f96c727
File tree
1 file changed
+2
-3
lines changed- server/src/internalClusterTest/java/org/elasticsearch/snapshots
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1447 | 1447 | | |
1448 | 1448 | | |
1449 | 1449 | | |
1450 | | - | |
1451 | 1450 | | |
1452 | 1451 | | |
1453 | 1452 | | |
1454 | 1453 | | |
1455 | | - | |
| 1454 | + | |
1456 | 1455 | | |
1457 | 1456 | | |
1458 | 1457 | | |
| |||
1466 | 1465 | | |
1467 | 1466 | | |
1468 | 1467 | | |
1469 | | - | |
| 1468 | + | |
1470 | 1469 | | |
1471 | 1470 | | |
1472 | 1471 | | |
| |||
0 commit comments