Skip to content

Commit cda94ac

Browse files
authored
Extend timeout in RepositoryAnalysisFailureIT (#105287)
We see occasional test failures in CI due to the analysis not completing within this 30s timeout. It doesn't look like anything is actually wrong, the test machine is just busy and these tests can be quite IO-intensive. This commit gives them more time. Closes #99422
1 parent f36dff7 commit cda94ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/snapshot-repo-test-kit/src/internalClusterTest/java/org/elasticsearch/repositories/blobstore/testkit/RepositoryAnalysisFailureIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public boolean acceptsEmptyRegister() {
423423
}
424424

425425
private void analyseRepository(RepositoryAnalyzeAction.Request request) {
426-
client().execute(RepositoryAnalyzeAction.INSTANCE, request).actionGet(30L, TimeUnit.SECONDS);
426+
client().execute(RepositoryAnalyzeAction.INSTANCE, request).actionGet(5L, TimeUnit.MINUTES);
427427
}
428428

429429
private static void assertPurpose(OperationPurpose purpose) {

0 commit comments

Comments
 (0)