activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [2/4] activemq-artemis git commit: Adding more time on checkWeakReferences
Date Tue, 07 Jun 2016 21:13:44 GMT
Adding more time on checkWeakReferences

This will fix a few intermittent failures


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/f0f431ac
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/f0f431ac
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/f0f431ac

Branch: refs/heads/master
Commit: f0f431aceabe9f228fb50968ae1969287e5fff8e
Parents: 065f994
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Tue Jun 7 16:10:06 2016 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Tue Jun 7 17:03:41 2016 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/f0f431ac/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java
----------------------------------------------------------------------
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 064091d..3e4d4c0 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());


Mime
View raw message