disable periodic expiry b/c that will page in and effect the usage assertions if the test lasts for more than 30s. read ci

This commit is contained in:
gtully 2015-06-17 14:29:28 +01:00
parent 38f7857533
commit d5c25c027b

View File

@ -66,8 +66,8 @@ public class MemoryLimitTest extends TestSupport {
PolicyMap policyMap = new PolicyMap();
PolicyEntry policyEntry = new PolicyEntry();
policyEntry.setExpireMessagesPeriod(0); // when this fires it will consume 2*pageSize mem which will throw the test
policyEntry.setProducerFlowControl(false);
policyEntry.setExpireMessagesPeriod(0);
policyMap.put(new ActiveMQQueue(">"), policyEntry);
broker.setDestinationPolicy(policyMap);