activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r606260 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/ReconnectTest.java
Date Fri, 21 Dec 2007 17:56:04 GMT
Author: rajdavies
Date: Fri Dec 21 09:56:03 2007
New Revision: 606260

URL: http://svn.apache.org/viewvc?rev=606260&view=rev
Log:
don't wait for ever for worker to stop

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/ReconnectTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/ReconnectTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/ReconnectTest.java?rev=606260&r1=606259&r2=606260&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/ReconnectTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/ReconnectTest.java
Fri Dec 21 09:56:03 2007
@@ -104,7 +104,7 @@
             try {
                 if (!stopped.await(5, TimeUnit.SECONDS)) {
                     connection.close();
-                    stopped.await();
+                    stopped.await(5, TimeUnit.SECONDS);
                 } else {
                     connection.close();
                 }



Mime
View raw message