activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1244976 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java
Date Thu, 16 Feb 2012 13:53:33 GMT
Author: gtully
Date: Thu Feb 16 13:53:32 2012
New Revision: 1244976

URL: http://svn.apache.org/viewvc?rev=1244976&view=rev
Log:
reduce default number of restarts and down time to reduce duration

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java?rev=1244976&r1=1244975&r2=1244976&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java Thu
Feb 16 13:53:32 2012
@@ -68,7 +68,7 @@ public class AMQ2149Test extends AutoFai
     final int NUM_SENDERS_AND_RECEIVERS = 10;
     final Object brokerLock = new Object();
     
-    private static final long DEFAULT_BROKER_STOP_PERIOD = 20 * 1000;
+    private static final long DEFAULT_BROKER_STOP_PERIOD = 10 * 1000;
     private static final long DEFAULT_NUM_TO_SEND = 1400;
     
     long brokerStopPeriod = DEFAULT_BROKER_STOP_PERIOD;
@@ -77,7 +77,7 @@ public class AMQ2149Test extends AutoFai
     String brokerURL = DEFAULT_BROKER_URL;
     
     int numBrokerRestarts = 0;
-    final static int MAX_BROKER_RESTARTS = 5;
+    final static int MAX_BROKER_RESTARTS = 3;
     BrokerService broker;
     Vector<Throwable> exceptions = new Vector<Throwable>();
 



Mime
View raw message