From fa5998ebd45b2cc6f660b4563bcb9e60018597a5 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Mon, 19 Sep 2022 12:22:18 +0200 Subject: [PATCH] Trying to fix flaky CoroutinesIntegrationTests --- .../result/method/annotation/CoroutinesIntegrationTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/method/annotation/CoroutinesIntegrationTests.kt b/spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/method/annotation/CoroutinesIntegrationTests.kt index 09514dbe7c2..1e5b4f32436 100644 --- a/spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/method/annotation/CoroutinesIntegrationTests.kt +++ b/spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/method/annotation/CoroutinesIntegrationTests.kt @@ -198,7 +198,7 @@ class CoroutinesIntegrationTests : AbstractRequestMappingIntegrationTests() { suspend fun entityFlux() : ResponseEntity> { val strings = Flux.interval(Duration.ofMillis(100)).take(5) .map { l -> l.toString() } - delay(1) + delay(10) return ResponseEntity.ok().body(strings) }