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
|
||||
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
|
||||
proxy.pause();
|
||||
|
||||
// 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
|
||||
proxy.close();
|
||||
|
|
Loading…
Reference in New Issue