This is an automated email from the ASF dual-hosted git repository.

brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5e409f0bd1 Remove invalid handshake test assertion
5e409f0bd1 is described below

commit 5e409f0bd1ab108545e617a97d367bdea46b4c86
Author: Derek Chen-Becker <[email protected]>
AuthorDate: Fri Feb 3 17:46:32 2023 -0700

    Remove invalid handshake test assertion
    
    Patch by Derek Chen-Becker; reviewed by brandonwilliams and smiklosovic
    for CASSANDRA-17979
---
 test/unit/org/apache/cassandra/net/HandshakeTest.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/test/unit/org/apache/cassandra/net/HandshakeTest.java 
b/test/unit/org/apache/cassandra/net/HandshakeTest.java
index 6a0f7d379a..36439f5fdf 100644
--- a/test/unit/org/apache/cassandra/net/HandshakeTest.java
+++ b/test/unit/org/apache/cassandra/net/HandshakeTest.java
@@ -309,7 +309,6 @@ public class HandshakeTest
             // As soon as the node accepts inbound connections, the connection 
must be established with right SSL context
             waitForConnection(outboundConnection);
             assertTrue(outboundConnection.isConnected());
-            assertFalse(outboundConnection.hasPending());
         }
         finally
         {
@@ -381,7 +380,6 @@ public class HandshakeTest
             OutboundConnection outboundConnection = initiateOutbound(endpoint, 
fromConnectionType, fromOptional);
             waitForConnection(outboundConnection);
             assertTrue(outboundConnection.isConnected());
-            assertFalse(outboundConnection.hasPending());
         }
         finally
         {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to