Skip to content

Commit

Permalink
Extend timeout in RepositoryAnalysisFailureIT
Browse files Browse the repository at this point in the history
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 elastic#99422
  • Loading branch information
DaveCTurner committed Feb 8, 2024
1 parent 263ea5e commit 4737a73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public boolean acceptsEmptyRegister() {
}

private void analyseRepository(RepositoryAnalyzeAction.Request request) {
client().execute(RepositoryAnalyzeAction.INSTANCE, request).actionGet(30L, TimeUnit.SECONDS);
client().execute(RepositoryAnalyzeAction.INSTANCE, request).actionGet(5L, TimeUnit.MINUTES);
}

private static void assertPurpose(OperationPurpose purpose) {
Expand Down

0 comments on commit 4737a73

Please sign in to comment.