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:
parent
70e3d17620
commit
c7b164b409
@ -300,7 +300,6 @@ public class SocketSslEchoTest extends AbstractSocketTest {
|
|||||||
renegoFuture = clientSslHandler.renegotiate();
|
renegoFuture = clientSslHandler.renegotiate();
|
||||||
logStats("CLIENT RENEGOTIATES");
|
logStats("CLIENT RENEGOTIATES");
|
||||||
assertThat(renegoFuture, is(not(sameInstance(clientHandshakeFuture))));
|
assertThat(renegoFuture, is(not(sameInstance(clientHandshakeFuture))));
|
||||||
assertThat(renegoFuture.isDone(), is(false));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user