See gh-4657
pull/20434/head
Andy Wilkinson 5 years ago
parent 308e1d3675
commit da06b38117

@ -74,7 +74,7 @@ class JettyGracefulShutdown implements GracefulShutdown {
return true;
}
if (logger.isInfoEnabled()) {
logger.info("Grace period elaped with " + activeRequests + " request(s) still active");
logger.info("Grace period elapsed with " + activeRequests + " request(s) still active");
}
return activeRequests == 0;
}

@ -143,7 +143,7 @@ class JettyReactiveWebServerFactoryTests extends AbstractReactiveWebServerFactor
blockingHandler.completeOne();
responseLatch.await(5, TimeUnit.SECONDS);
this.webServer.stop();
Throwable error = await().atMost(Duration.ofSeconds(5)).until(errorReference::get, (ex) -> ex != null);
Throwable error = await().atMost(Duration.ofSeconds(30)).until(errorReference::get, (ex) -> ex != null);
assertThat(error).isInstanceOf(IOException.class);
}

@ -520,7 +520,6 @@ public abstract class AbstractReactiveWebServerFactoryTests {
public void completeOne() {
try {
MonoProcessor<Void> processor = this.monoProcessors.take();
System.out.println("Completing " + processor);
processor.onComplete();
}
catch (InterruptedException ex) {

Loading…
Cancel
Save