diff --git a/jetty-server/src/test/java/org/eclipse/jetty/server/ConnectorTimeoutTest.java b/jetty-server/src/test/java/org/eclipse/jetty/server/ConnectorTimeoutTest.java index 2b2f693e3d3..0a1e019e171 100644 --- a/jetty-server/src/test/java/org/eclipse/jetty/server/ConnectorTimeoutTest.java +++ b/jetty-server/src/test/java/org/eclipse/jetty/server/ConnectorTimeoutTest.java @@ -258,6 +258,9 @@ public abstract class ConnectorTimeoutTest extends HttpServerTestFixture { // expected } + + Thread.sleep(2 * MAX_IDLE_TIME); + // check the server side is closed Assert.assertFalse(endPoint.isOpen()); }