mirror of https://github.com/apache/activemq.git
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
This commit is contained in:
parent
cc7ea7f31f
commit
49dd85c5e7
|
@ -68,7 +68,7 @@ public class AMQ2149Test extends AutoFailTestSupport {
|
||||||
final int NUM_SENDERS_AND_RECEIVERS = 10;
|
final int NUM_SENDERS_AND_RECEIVERS = 10;
|
||||||
final Object brokerLock = new Object();
|
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;
|
private static final long DEFAULT_NUM_TO_SEND = 1400;
|
||||||
|
|
||||||
long brokerStopPeriod = DEFAULT_BROKER_STOP_PERIOD;
|
long brokerStopPeriod = DEFAULT_BROKER_STOP_PERIOD;
|
||||||
|
@ -77,7 +77,7 @@ public class AMQ2149Test extends AutoFailTestSupport {
|
||||||
String brokerURL = DEFAULT_BROKER_URL;
|
String brokerURL = DEFAULT_BROKER_URL;
|
||||||
|
|
||||||
int numBrokerRestarts = 0;
|
int numBrokerRestarts = 0;
|
||||||
final static int MAX_BROKER_RESTARTS = 5;
|
final static int MAX_BROKER_RESTARTS = 3;
|
||||||
BrokerService broker;
|
BrokerService broker;
|
||||||
Vector<Throwable> exceptions = new Vector<Throwable>();
|
Vector<Throwable> exceptions = new Vector<Throwable>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue