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 2205511a7e..786fabaa08 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 @@ -27,7 +27,6 @@ import org.junit.runners.Parameterized; import reactor.core.publisher.Mono; import reactor.core.publisher.ProcessorGroup; import reactor.core.publisher.Processors; -import reactor.core.timer.Timers; import reactor.rx.Stream; import org.springframework.core.io.buffer.DataBufferAllocator; @@ -107,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(Timers.global()) + .timer(Timer.global()) .throttleRequest(100) .dispatchOn(asyncGroup) .collect(allocator::allocateBuffer,