jeanouii opened a new pull request, #1679: URL: https://github.com/apache/activemq/pull/1679
Thread.sleep(3000) is unreliable on slow CI machines for waiting on cluster formation and client rebalancing. Replace all sleep-based synchronization with Wait.waitFor polling: - testClusterConnectedAfterClients: poll for clients on multiple brokers - testClusterURIOptionsStrip: same polling for client rebalance - testClusterConnectedBeforeClients: poll for bridge formation, then poll for client failover after broker stop This also fixes AutoFailoverClusterTest which inherits these methods. -- 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] For further information, visit: https://activemq.apache.org/contact
