mirror of https://github.com/apache/activemq.git
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:
parent
5b5d494e65
commit
373417c0df
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue