activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r933256 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java
Date Mon, 12 Apr 2010 14:44:15 GMT
Author: dejanb
Date: Mon Apr 12 14:44:14 2010
New Revision: 933256

URL: http://svn.apache.org/viewvc?rev=933256&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-2448 - increasing failure margin

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java?rev=933256&r1=933255&r2=933256&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java
Mon Apr 12 14:44:14 2010
@@ -54,8 +54,8 @@ public class VmTransportNetworkBrokerTes
         TimeUnit.SECONDS.sleep(30);
         int threadCountAfterSleep = Thread.activeCount();
         
-        assertTrue("things are ok w.r.t.threads, threadCount=" + threadCount + " threadCountAfterSleep="
+ threadCountAfterSleep, 
-                threadCountAfterSleep < threadCount+2);
+        assertTrue("Threads are leaking, threadCount=" + threadCount + " threadCountAfterSleep="
+ threadCountAfterSleep, 
+                threadCountAfterSleep < threadCount + 5);
                 
         broker.stop(); 
     }



Mime
View raw message