mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 12:39:03 +00:00
Allow more time for shutdown result callback to be received
5 seconds isn't always sufficient, particularly on CI where the timing can be quite variable.
This commit is contained in:
+1
-1
@@ -380,7 +380,7 @@ public abstract class AbstractReactiveWebServerFactoryTests {
|
||||
assertThat(responseReference.get()).isNull();
|
||||
blockingHandler.completeOne();
|
||||
assertThat(responseLatch.await(5, TimeUnit.SECONDS)).isTrue();
|
||||
Awaitility.await().atMost(Duration.ofSeconds(5)).until(() -> GracefulShutdownResult.IDLE == result.get());
|
||||
Awaitility.await().atMost(Duration.ofSeconds(30)).until(() -> GracefulShutdownResult.IDLE == result.get());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user