Upgrade to Reactor Aluminium SNAPSHOT

This commit is contained in:
Brian Clozel
2017-01-18 22:30:28 +01:00
parent 63106e7ffb
commit a0427209d8
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ public class AsyncIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@Override
public Mono<Void> handle(ServerHttpRequest request, ServerHttpResponse response) {
return response.writeWith(Flux.just("h", "e", "l", "l", "o")
.delay(Duration.ofMillis(100))
.delayElements(Duration.ofMillis(100))
.publishOn(asyncGroup)
.collect(dataBufferFactory::allocateBuffer, (buffer, str) -> buffer.write(str.getBytes())));
}