activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r792538 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java
Date Thu, 09 Jul 2009 13:00:41 GMT
Author: gtully
Date: Thu Jul  9 13:00:40 2009
New Revision: 792538

URL: http://svn.apache.org/viewvc?rev=792538&view=rev
Log:
give reconnect randomness some more time to kick in

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java?rev=792538&r1=792537&r2=792538&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java
Thu Jul  9 13:00:40 2009
@@ -64,7 +64,7 @@
 		connection.close();
 		
 		String brokerName2 = brokerName1;
-		int attempts = 5;
+		int attempts = 40;
 		while (brokerName1.equals(brokerName2) && attempts-- > 0) {
 		    connection = (ActiveMQConnection) cf.createConnection();
 		    connection.start();



Mime
View raw message