diff --git a/spring-context/src/test/java/org/springframework/resilience/ReactiveRetryInterceptorTests.java b/spring-context/src/test/java/org/springframework/resilience/ReactiveRetryInterceptorTests.java index 65550c9fa1b..065c22c2081 100644 --- a/spring-context/src/test/java/org/springframework/resilience/ReactiveRetryInterceptorTests.java +++ b/spring-context/src/test/java/org/springframework/resilience/ReactiveRetryInterceptorTests.java @@ -464,11 +464,11 @@ class ReactiveRetryInterceptorTests { }); } - @Retryable(timeout = 5, delay = 10) + @Retryable(timeout = 5, delay = 0) public Mono retryOperationWithTimeoutExceededAfterInitialFailure() { return Mono.fromCallable(() -> { counter.incrementAndGet(); - Thread.sleep(10); + Thread.sleep(20); throw new IOException(counter.toString()); }); }