Skip to content

Commit

Permalink
Update IndicesRequestCacheIT.java
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <awskiran@amazon.com>
  • Loading branch information
kiranprakash154 committed Mar 27, 2024
1 parent f237955 commit 5de64b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ public void testStaleKeysCleanup_NoIntervalSettingFallsBackAppropriately() throw
Instant end = Instant.now();
long elapsedTimeMillis = Duration.between(start, end).toMillis();
// if this test is flaky, increase the sleep time.
long sleepTime = (thresholdInMillis - elapsedTimeMillis) + 2_000;
long sleepTime = (thresholdInMillis - elapsedTimeMillis) + 2_500;
Thread.sleep(sleepTime);

// cache cleaner should have cleared the stale keys by now
Expand Down

0 comments on commit 5de64b2

Please sign in to comment.