From 031611ed22cbb523a816a98ca6cdda0cd519759b Mon Sep 17 00:00:00 2001 From: gtully Date: Mon, 14 Oct 2013 16:55:42 +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/jmx/HealthViewMBeanTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java index 79134d54d9..bd6dbc2577 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java @@ -59,6 +59,7 @@ public class HealthViewMBeanTest extends EmbeddedBrokerTestSupport { BrokerService answer = new BrokerService(); answer.setPersistent(true); answer.setDeleteAllMessagesOnStartup(true); + answer.getSystemUsage().getMemoryUsage().setLimit(1024 * 1024 * 64); answer.getSystemUsage().getTempUsage().setLimit(1024 * 1024 * 64); answer.getSystemUsage().getStoreUsage().setLimit(1024 * 1024 * 64); answer.setUseJmx(true);