Jetty9 - Fixed test making it more reliable.

This commit is contained in:
Simone Bordet 2012-08-28 12:48:37 +02:00
parent 5aa3702606
commit 7bbd9675cc
1 changed files with 3 additions and 0 deletions

View File

@ -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());
}