From 49dd85c5e7c0b0f777930a79b05b87afaba000c9 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Thu, 16 Feb 2012 13:53:32 +0000 Subject: [PATCH] reduce default number of restarts and down time to reduce duration git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244976 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/org/apache/activemq/bugs/AMQ2149Test.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java b/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java index 9c3edb8b6f..4f9c641fe4 100644 --- a/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java +++ b/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java @@ -68,7 +68,7 @@ public class AMQ2149Test extends AutoFailTestSupport { 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 AutoFailTestSupport { 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 exceptions = new Vector();