From 4650f998db6d1fc349b56840e5bd4e53893c4b0e Mon Sep 17 00:00:00 2001 From: "Timothy A. Bish" Date: Tue, 5 Feb 2013 18:08:14 +0000 Subject: [PATCH] Bumping the wait time a bit to account for older system and slow disks. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442681 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/broker/BrokerTestSupport.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java index 214323c1cb..147bf233bf 100755 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerTestSupport.java @@ -69,14 +69,15 @@ public class BrokerTestSupport extends CombinationTestSupport { 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 CombinationTestSupport { return broker; } + @Override protected void tearDown() throws Exception { broker.stop(); broker.waitUntilStopped(); @@ -352,5 +354,4 @@ public class BrokerTestSupport extends CombinationTestSupport { } } } - }