mirror of https://github.com/apache/activemq.git
give reconnect randomness some more time to kick in
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792538 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c19e93976c
commit
5c15b52e51
|
@ -64,7 +64,7 @@ public class FailoverRandomTest extends TestCase {
|
|||
connection.close();
|
||||
|
||||
String brokerName2 = brokerName1;
|
||||
int attempts = 5;
|
||||
int attempts = 40;
|
||||
while (brokerName1.equals(brokerName2) && attempts-- > 0) {
|
||||
connection = (ActiveMQConnection) cf.createConnection();
|
||||
connection.start();
|
||||
|
|
Loading…
Reference in New Issue