Skip to content

Commit

Permalink
HSEARCH-4687 Raise the timeout for background indexing completion in …
Browse files Browse the repository at this point in the history
…tests to 30s

Because some tests are quite slow on some databases (e.g. CockroachDB)
  • Loading branch information
yrodiere committed Aug 30, 2022
1 parent 1da1c43 commit 53a549b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -78,7 +78,7 @@ public void awaitBackgroundIndexingCompletion(CompletableFuture<?> completion) {
// We're only waiting for in-memory state to change,
// so it's fine to poll aggressively every 5ms.
.pollInterval( Duration.ofMillis( 5 ) )
.atMost( Duration.ofSeconds( 15 ) )
.atMost( Duration.ofSeconds( 30 ) )
.until( completion::isDone );
}
}
Expand Down

0 comments on commit 53a549b

Please sign in to comment.