From c2c7e3b596a6551d948a87f03a9b6f49ffec6496 Mon Sep 17 00:00:00 2001 From: Stephane Maldini Date: Tue, 12 Jul 2016 12:13:50 +0100 Subject: [PATCH] Polish timed operators and remove useTimer() --- .../http/server/reactive/AsyncIntegrationTests.java | 1 - 1 file changed, 1 deletion(-) 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 9405c7f656..ecfaacb4b2 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 @@ -65,7 +65,6 @@ public class AsyncIntegrationTests extends AbstractHttpHandlerIntegrationTests { @Override public Mono handle(ServerHttpRequest request, ServerHttpResponse response) { return response.writeWith(Flux.just("h", "e", "l", "l", "o") - .useTimer(Schedulers.timer()) .delay(Duration.ofMillis(100)) .publishOn(asyncGroup) .collect(dataBufferFactory::allocateBuffer, (buffer, str) -> buffer.write(str.getBytes())));