You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/02/05 19:08:14 UTC
svn commit: r1442681 -
/activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java
Author: tabish
Date: Tue Feb 5 18:08:14 2013
New Revision: 1442681
URL: http://svn.apache.org/viewvc?rev=1442681&view=rev
Log:
Bumping the wait time a bit to account for older system and slow disks.
Modified:
activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java
Modified: activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java?rev=1442681&r1=1442680&r2=1442681&view=diff
==============================================================================
--- activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java (original)
+++ activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java Tue Feb 5 18:08:14 2013
@@ -69,14 +69,15 @@ public class BrokerTestSupport extends C
protected int txGenerator;
protected int tempDestGenerator;
protected PersistenceAdapter persistenceAdapter;
-
+
protected String queueName = "TEST";
- protected int maxWait = 4000;
+ protected int maxWait = 10000;
protected SystemUsage memoryManager;
protected PolicyMap policyMap = new PolicyMap();
+ @Override
protected void setUp() throws Exception {
super.setUp();
broker = createBroker();
@@ -97,6 +98,7 @@ public class BrokerTestSupport extends C
return broker;
}
+ @Override
protected void tearDown() throws Exception {
broker.stop();
broker.waitUntilStopped();
@@ -352,5 +354,4 @@ public class BrokerTestSupport extends C
}
}
}
-
}