activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r903177 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
Date Tue, 26 Jan 2010 11:30:33 GMT
Author: dejanb
Date: Tue Jan 26 11:30:33 2010
New Revision: 903177

URL: http://svn.apache.org/viewvc?rev=903177&view=rev
Log:
DiscoveryNetworkReconnectTest - giving it even more time to reconnect to help stabilise on
slow machines

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java?rev=903177&r1=903176&r2=903177&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
Tue Jan 26 11:30:33 2010
@@ -194,13 +194,13 @@
             }));
             
             // 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();



Mime
View raw message