nivykani opened a new pull request, #814:
URL: https://github.com/apache/cassandra-ccm/pull/814

   The original ticket suggests to await for bind port availability, but a more 
general solution seems to be to ensure that CCM fully stops the node and 
releases addresses when wait=True.
   
   Additionally, during start_cluster(), we can directly wait on ports to be 
available by retrying every 1 second up to the default timeout of 15 seconds 
per address.
   
   Note: Fails fast; if one address is still not released by the timeout 
(default=15 seconds), it returns UnavailableSocketError rather than waiting for 
the others.
   
   Each interface could use up almost the full 15s timeout in the worst case, 
which makes tests slower but more likely to succeed.
   
   [Cassandra JIRA](https://issues.apache.org/jira/browse/CASSANDRA-21506)


-- 
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