diff --git a/spring-web-reactive/src/test/java/org/springframework/http/server/reactive/AsyncIntegrationTests.java b/spring-web-reactive/src/test/java/org/springframework/http/server/reactive/AsyncIntegrationTests.java index 8463c12949..e06acc147a 100644 --- a/spring-web-reactive/src/test/java/org/springframework/http/server/reactive/AsyncIntegrationTests.java +++ b/spring-web-reactive/src/test/java/org/springframework/http/server/reactive/AsyncIntegrationTests.java @@ -106,7 +106,7 @@ public class AsyncIntegrationTests { @Override public Mono handle(ServerHttpRequest request, ServerHttpResponse response) { return response.setBody(Stream.just("h", "e", "l", "l", "o") - .timer(Timer.global()) + .useTimer(Timer.global()) .throttleRequest(100) .dispatchOn(asyncGroup) .collect(allocator::allocateBuffer,