@ -82,7 +82,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@@ -82,7 +82,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
StepVerifier.create(result)
.expectNext("foo 0")
.expectNext("foo 1")
.expectComplete()
.thenCancel()
.verify(Duration.ofSeconds(5L));
}
@Test
@ -96,7 +96,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@@ -96,7 +96,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
StepVerifier.create(result)
.expectNext(newPerson("foo 0"))
.expectNext(newPerson("foo 1"))
.expectComplete()
.thenCancel()
.verify(Duration.ofSeconds(5L));
}
@ -124,7 +124,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@@ -124,7 +124,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
assertFalse(event.event().isPresent());
assertFalse(event.retry().isPresent());
})
.expectComplete()
.thenCancel()
.verify(Duration.ofSeconds(5L));
}
@ -152,7 +152,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@@ -152,7 +152,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
assertFalse(event.event().isPresent());
assertFalse(event.retry().isPresent());
})
.expectComplete()
.thenCancel()
.verify(Duration.ofSeconds(5L));
}
@ -162,12 +162,12 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@@ -162,12 +162,12 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@ -175,7 +175,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
@@ -175,7 +175,7 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {