jonmeredith commented on code in PR #1706:
URL: https://github.com/apache/cassandra/pull/1706#discussion_r1109100889
##########
test/distributed/org/apache/cassandra/distributed/test/InternodeEncryptionEnforcementTest.java:
##########
@@ -161,10 +147,11 @@ public void
testOutboundConnectionsAreInterruptedWhenAuthFails() throws IOExcept
// There should be no outbound connections as authentication
fails.
OutboundConnections outbound =
getOnlyElement(MessagingService.instance().channelManagers.values());
- assertTrue(!outbound.small.isConnected() &&
!outbound.large.isConnected() && !outbound.urgent.isConnected());
+ Awaitility.await().until(() -> !outbound.small.isConnected()
&& !outbound.large.isConnected() && !outbound.urgent.isConnected());
Review Comment:
Looks like the default wait is 10s - should probably be enough time.
--
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]