a little more time for slow networks

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@746191 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2009-02-20 10:09:23 +00:00
parent 184761a119
commit ae2a3e2182
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ public class DuplexNetworkMBeanTest extends TestCase {
public void testMbeanPresenceOnNetworkBrokerRestart() throws Exception {
BrokerService broker = createBroker();
broker.start();
assertEquals(1, countMbeans(broker, "Connector", 5000));
assertEquals(1, countMbeans(broker, "Connector", 10000));
assertEquals(0, countMbeans(broker, "Connection"));
BrokerService networkedBroker = null;
for (int i=0; i<numRestarts; i++) {
@ -82,7 +82,7 @@ public class DuplexNetworkMBeanTest extends TestCase {
BrokerService networkedBroker = createNetworkedBroker();
networkedBroker.start();
assertEquals(1, countMbeans(networkedBroker, "Connector", 2000));
assertEquals(1, countMbeans(networkedBroker, "Connector", 10000));
assertEquals(0, countMbeans(networkedBroker, "Connection"));
BrokerService broker = null;