Skip to content

Commit ed3f927

Browse files
committed
Fix flaky test
1 parent ec7e01e commit ed3f927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/dev/failsafe/functional/RateLimiterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void testMaxWaitTimeExceeded() {
9494
runAsync(() -> {
9595
limiter.tryAcquirePermits(50, Duration.ofMinutes(1)); // limiter should now be well over its max permits
9696
});
97-
Thread.sleep(100);
97+
Thread.sleep(150);
9898
}, Failsafe.with(limiter), ctx -> {
9999
}, RateLimitExceededException.class);
100100
}

0 commit comments

Comments
 (0)