jyothsnakonisa commented on code in PR #1706:
URL: https://github.com/apache/cassandra/pull/1706#discussion_r1110227651


##########
test/distributed/org/apache/cassandra/distributed/test/InternodeEncryptionEnforcementTest.java:
##########
@@ -103,16 +100,12 @@ public void 
testOutboundConnectionsAreRejectedWhenAuthFails() throws IOException
             executorService.submit(() -> openConnections(cluster));
 
             /*
-             * instance (1) should not connect to instance (2) as 
authentication fails;
-             * instance (2) should not connect to instance (1) as 
authentication fails.
+             * Instance (1) should not be able to make outbound connections to 
instance (2) but Instance (2) should be
+             * accepting outbound connections from Instance (1)

Review Comment:
   `RejectOutboundAuthenticator` is configured only on instance 1 of the 
cluster and `AllowAllAuthenticator` is configured on instance 2. Any outbound 
connections or inbound connections on instance 2 should be successful as 
`AllowAllAuthenticator` is used, where as on instance 1, Inbound connections 
will be accepted but OutboundConnections will be rejected.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to