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 c0e889ae54
commit 069c052e2c

View File

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