activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r903179 - /activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
Date Tue, 26 Jan 2010 11:34:53 GMT
Author: dejanb
Date: Tue Jan 26 11:34:53 2010
New Revision: 903179

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

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

Modified: activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
URL: http://svn.apache.org/viewvc/activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java?rev=903179&r1=903178&r2=903179&view=diff
==============================================================================
--- activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
(original)
+++ activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
Tue Jan 26 11:34:53 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));
             
             // let a reconnect succeed
             proxy.goOn();       



Mime
View raw message