From e037e069bd420d3fdef3df6f1b3af57badfbf1f0 Mon Sep 17 00:00:00 2001 From: Bosanac Dejan Date: Mon, 12 Apr 2010 14:44:14 +0000 Subject: [PATCH] https://issues.apache.org/activemq/browse/AMQ-2448 - increasing failure margin git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@933256 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/transport/vm/VmTransportNetworkBrokerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java b/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java index 4e9356f7df..f88881bfbe 100644 --- a/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/transport/vm/VmTransportNetworkBrokerTest.java @@ -54,8 +54,8 @@ public class VmTransportNetworkBrokerTest extends TestCase { 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(); }