Skip to content

Commit 8260cba

Browse files
committed
Increase timeout while checking for no snapshotted commit (#49461)
If some replica is performing a file-based recovery, then the check assertNoSnapshottedIndexCommit would fail. We should increase the timeout for this check so that we can wait until all recoveries done or aborted. Closes #49403
1 parent 1d2bfd1 commit 8260cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/main/java/org/elasticsearch/test/InternalTestCluster.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ private void assertNoSnapshottedIndexCommit() throws Exception {
13771377
}
13781378
}
13791379
}
1380-
});
1380+
}, 60, TimeUnit.SECONDS);
13811381
}
13821382

13831383
/**

0 commit comments

Comments
 (0)