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

This commit is contained in:
gtully 2017-02-10 16:03:15 +00:00
parent d86c98a687
commit f5baebb001
1 changed files with 1 additions and 0 deletions

View File

@ -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());