mirror of https://github.com/apache/activemq.git
DiscoveryNetworkReconnectTest - giving it even more time to reconnect to help stabilise on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903177 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f82df4585d
commit
a770a00373
|
@ -194,13 +194,13 @@ public class DiscoveryNetworkReconnectTest {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// wait for network connector
|
// wait for network connector
|
||||||
assertTrue("network connector mbean registered within 2 minute", mbeanRegistered.tryAcquire(120, TimeUnit.SECONDS));
|
assertTrue("network connector mbean registered within 3 minute", mbeanRegistered.tryAcquire(180, TimeUnit.SECONDS));
|
||||||
|
|
||||||
// force an inactivity timeout via the proxy
|
// force an inactivity timeout via the proxy
|
||||||
proxy.pause();
|
proxy.pause();
|
||||||
|
|
||||||
// wait for the inactivity timeout and network shutdown
|
// wait for the inactivity timeout and network shutdown
|
||||||
assertTrue("network connector mbean unregistered within 2 minute", mbeanUnregistered.tryAcquire(120, TimeUnit.SECONDS));
|
assertTrue("network connector mbean unregistered within 3 minute", mbeanUnregistered.tryAcquire(180, TimeUnit.SECONDS));
|
||||||
|
|
||||||
// whack all connections
|
// whack all connections
|
||||||
proxy.close();
|
proxy.close();
|
||||||
|
|
Loading…
Reference in New Issue