sync with dispatchOn change in reactor-core

This commit is contained in:
Stephane Maldini
2016-04-11 16:04:01 +01:00
parent a3b371bf4b
commit ff6b639cf9

View File

@@ -67,7 +67,7 @@ public class AsyncIntegrationTests extends AbstractHttpHandlerIntegrationTests {
return response.setBody(Flux.just("h", "e", "l", "l", "o")
.useTimer(Timer.global())
.delay(Duration.ofMillis(100))
.dispatchOn(asyncGroup)
.publishOn(asyncGroup)
.collect(allocator::allocateBuffer,
(buffer, str) -> buffer.write(str.getBytes())));
}