mirror of
https://github.com/apache/activemq.git
synced 2025-02-28 05:09:07 +00:00
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:
parent
38f7857533
commit
d5c25c027b
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user