Skip to content

Commit 231d051

Browse files
authored
[Test] Excercise shutdown more reliably in snapshot stress IT (#132909)
See title
1 parent 12a21df commit 231d051

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/internalClusterTest/java/org/elasticsearch/snapshots/SnapshotStressTestsIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,10 +1201,10 @@ private void startNodeRestarter() {
12011201
private void startNodeShutdownMarker() {
12021202
enqueueAction(() -> {
12031203
boolean rerun = true;
1204-
if (usually()) {
1205-
return;
1206-
}
12071204
try (TransferableReleasables localReleasables = new TransferableReleasables()) {
1205+
if (usually()) {
1206+
return;
1207+
}
12081208
if (localReleasables.add(blockFullClusterRestart()) == null) {
12091209
return;
12101210
}

0 commit comments

Comments
 (0)