Skip to content

Commit

Permalink
Extend timeout in RepositoryAnalysisFailureIT (#105287)
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 #99422
  • Loading branch information
DaveCTurner authored Feb 8, 2024
1 parent f36dff7 commit cda94ac
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 cda94ac

Please sign in to comment.