Made test more reliable.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3256 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
922fb70344
commit
be98ef70a1
|
@ -242,6 +242,9 @@ public class SslTruncationAttackTest
|
|||
SSLSocket sslSocket = (SSLSocket)sslContext.getSocketFactory().createSocket(socket, socket.getInetAddress().getHostName(), socket.getPort(), true);
|
||||
sslSocket.setUseClientMode(true);
|
||||
|
||||
// Wait for the socket to be connected
|
||||
TimeUnit.SECONDS.sleep(1);
|
||||
|
||||
handleCount.set(0);
|
||||
|
||||
// Send TCP FIN without SSL close alert
|
||||
|
|
Loading…
Reference in New Issue