Jetty9 - Fixed test making it more reliable.
This commit is contained in:
parent
5aa3702606
commit
7bbd9675cc
|
@ -258,6 +258,9 @@ public abstract class ConnectorTimeoutTest extends HttpServerTestFixture
|
||||||
{
|
{
|
||||||
// expected
|
// expected
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Thread.sleep(2 * MAX_IDLE_TIME);
|
||||||
|
|
||||||
// check the server side is closed
|
// check the server side is closed
|
||||||
Assert.assertFalse(endPoint.isOpen());
|
Assert.assertFalse(endPoint.isOpen());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue