From f0f431aceabe9f228fb50968ae1969287e5fff8e Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Tue, 7 Jun 2016 16:10:06 -0400 Subject: [PATCH] Adding more time on checkWeakReferences This will fix a few intermittent failures --- .../apache/activemq/artemis/tests/util/ActiveMQTestBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java b/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java index 064091d395..3e4d4c0a2d 100644 --- a/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java +++ b/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java @@ -627,7 +627,7 @@ public abstract class ActiveMQTestBase extends Assert { break; } } - } while (i++ <= 50 && hasValue); + } while (i++ <= 200 && hasValue); for (WeakReference ref : references) { Assert.assertNull(ref.get());