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 6e99d57c92..90b5dcfdf1 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 @@ -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();