Normalize returns with Scheduler factories in SchedulerGroup

This commit is contained in:
Stephane Maldini
2016-04-18 21:24:59 +01:00
parent 0f44fedd19
commit 7d60c2767d

View File

@@ -24,6 +24,7 @@ import org.junit.Test;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.core.publisher.SchedulerGroup;
import reactor.core.scheduler.Scheduler;
import reactor.core.scheduler.Timer;
import org.springframework.core.io.buffer.DataBufferAllocator;
@@ -41,7 +42,7 @@ import static org.junit.Assert.assertThat;
*/
public class AsyncIntegrationTests extends AbstractHttpHandlerIntegrationTests {
private final SchedulerGroup asyncGroup = SchedulerGroup.async();
private final Scheduler asyncGroup = SchedulerGroup.async();
private final DataBufferAllocator allocator = new DefaultDataBufferAllocator();