Make @​Retryable timeout tests more robust

See gh-35963
This commit is contained in:
Sam Brannen
2025-12-09 16:56:53 +01:00
parent 61201db704
commit 2137ec70d2
@@ -464,11 +464,11 @@ class ReactiveRetryInterceptorTests {
});
}
@Retryable(timeout = 5, delay = 10)
@Retryable(timeout = 5, delay = 0)
public Mono<Object> retryOperationWithTimeoutExceededAfterInitialFailure() {
return Mono.fromCallable(() -> {
counter.incrementAndGet();
Thread.sleep(10);
Thread.sleep(20);
throw new IOException(counter.toString());
});
}