[no jira] calm this test a bit due to oom in ci builds

This commit is contained in:
gtully 2017-10-25 13:08:00 +01:00
parent 489cdc624c
commit be6f4b69c1
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public class DuplicateFromStoreTest {
protected final static int NUM_PRODUCERS = 100;
protected final static int NUM_CONSUMERS = 20;
protected final static int NUM_MSGS = 40000;
protected final static int NUM_MSGS = 20000;
protected final static int CONSUMER_SLEEP = 0;
protected final static int PRODUCER_SLEEP = 10;
@ -85,6 +85,7 @@ public class DuplicateFromStoreTest {
policy.setMemoryLimit(10 * 1024 * 1024); // 10 MB
policy.setExpireMessagesPeriod(0);
policy.setEnableAudit(false); // allow any duplicates from the store to bubble up to the q impl
policy.setQueuePrefetch(100);
PolicyMap policies = new PolicyMap();
policies.put(dest, policy);
broker.setDestinationPolicy(policies);