give FailoverClusterTest a bit more time to reconnect

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1079324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2011-03-08 11:16:11 +00:00
parent 5b5d494e65
commit 373417c0df
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ public class FailoverClusterTest extends TestCase {
if (brokerB == null) {
brokerB = createBrokerB(BROKER_B_BIND_ADDRESS);
}
Thread.sleep(3000);
Thread.sleep(5000);
Set<String> set = new HashSet<String>();
for (ActiveMQConnection c : connections) {
set.add(c.getTransportChannel().getRemoteAddress());
@ -66,7 +66,7 @@ public class FailoverClusterTest extends TestCase {
// add in server side only url param, should not be propagated
brokerB = createBrokerB(BROKER_B_BIND_ADDRESS + "?transport.closeAsync=false");
}
Thread.sleep(3000);
Thread.sleep(5000);
Set<String> set = new HashSet<String>();
for (ActiveMQConnection c : connections) {
set.add(c.getTransportChannel().getRemoteAddress());