From 9815b9dc75b2fa7d5df40edc449db2bd15bae240 Mon Sep 17 00:00:00 2001 From: gtully Date: Mon, 14 Oct 2013 20:45:21 +0100 Subject: [PATCH] https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default so set expected value in test --- .../java/org/apache/activemq/broker/region/QueuePurgeTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/region/QueuePurgeTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/region/QueuePurgeTest.java index e98e53e1da..a03e7bca14 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/region/QueuePurgeTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/region/QueuePurgeTest.java @@ -62,6 +62,7 @@ public class QueuePurgeTest extends CombinationTestSupport { broker.setDataDirectoryFile(testDataDir); broker.setUseJmx(true); broker.setDeleteAllMessagesOnStartup(true); + broker.getSystemUsage().getMemoryUsage().setLimit(1024l*1024*64); KahaDBPersistenceAdapter persistenceAdapter = new KahaDBPersistenceAdapter(); persistenceAdapter.setDirectory(new File(testDataDir, "kahadb")); broker.setPersistenceAdapter(persistenceAdapter);