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:
Gary Tully 2009-07-09 13:00:40 +00:00
parent c19e93976c
commit 5c15b52e51
1 changed files with 1 additions and 1 deletions

View File

@ -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();