Fix sporadic assertion failure in SocketSslEchoTest

Motivation:

SocketSslEchoTest.testSslEcho() has a race condition where a renegotiation future can be done before:

    assertThat(renegoFuture.isDone(), is(false));

Modifications:

Remove the offending assertion.

Result:

More build stability
This commit is contained in:
Trustin Lee 2015-06-01 13:55:20 +09:00
parent 70e3d17620
commit c7b164b409

View File

@ -300,7 +300,6 @@ public class SocketSslEchoTest extends AbstractSocketTest {
renegoFuture = clientSslHandler.renegotiate();
logStats("CLIENT RENEGOTIATES");
assertThat(renegoFuture, is(not(sameInstance(clientHandshakeFuture))));
assertThat(renegoFuture.isDone(), is(false));
}
}