added delay to improve SSL tcpClose test

This commit is contained in:
Greg Wilkins 2016-06-02 17:38:36 +10:00
parent 89032b7eac
commit ec7871718c
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ public class SelectChannelEndPointSslTest extends SelectChannelEndPointTest
filled=client.read(sslIn); filled=client.read(sslIn);
Assert.assertEquals(-1,filled); Assert.assertEquals(-1,filled);
Thread.sleep(100); // TODO This should not be needed
Assert.assertFalse(server.isOpen()); Assert.assertFalse(server.isOpen());
} }