mirror of https://github.com/apache/activemq.git
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
This commit is contained in:
parent
9e54516aba
commit
e037e069bd
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue