activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject activemq git commit: intermittent failure - disable periodic expiry as it may use memory that effects the assertions
Date Fri, 10 Feb 2017 16:03:34 GMT
Repository: activemq
Updated Branches:
  refs/heads/master d86c98a68 -> f5baebb00


intermittent failure - disable periodic expiry as it may use memory that effects the assertions


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

Branch: refs/heads/master
Commit: f5baebb001bc3c4ce520e1952b9b03c90138dd6e
Parents: d86c98a
Author: gtully <gary.tully@gmail.com>
Authored: Fri Feb 10 16:03:15 2017 +0000
Committer: gtully <gary.tully@gmail.com>
Committed: Fri Feb 10 16:03:15 2017 +0000

----------------------------------------------------------------------
 .../src/test/java/org/apache/activemq/bugs/AMQ6463Test.java         | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/f5baebb0/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ6463Test.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ6463Test.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ6463Test.java
index d3996bf..9633244 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ6463Test.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ6463Test.java
@@ -102,6 +102,7 @@ public class AMQ6463Test extends JmsTestSupport {
         // Setup a destination policy where it takes only 1 message at a time.
         PolicyMap policyMap = new PolicyMap();
         PolicyEntry policy = new PolicyEntry();
+        policy.setExpireMessagesPeriod(0); // so not to effect memory usage
         policy.setMemoryLimit(1);
         policy.setPendingSubscriberPolicy(new VMPendingSubscriberMessageStoragePolicy());
         policy.setPendingQueuePolicy(new VMPendingQueueMessageStoragePolicy());


Mime
View raw message