https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default so set expected value in test

This commit is contained in:
gtully 2013-10-14 17:04:58 +01:00
parent 031611ed22
commit ff3bad1ae9
1 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class AMQ2314Test extends CombinationTestSupport {
consumingThread.join();
connection.close();
LOG.info("Subscrition Usage: " + tempUsageBySubscription + ", endUsage: "
LOG.info("Subscription Usage: " + tempUsageBySubscription + ", endUsage: "
+ broker.getSystemUsage().getTempUsage().getUsage());
assertTrue("temp usage decreased with removed sub", Wait.waitFor(new Wait.Condition(){
@ -157,6 +157,7 @@ public class AMQ2314Test extends CombinationTestSupport {
broker.setUseJmx(true);
broker.setAdvisorySupport(false);
broker.setDeleteAllMessagesOnStartup(true);
broker.getSystemUsage().getMemoryUsage().setLimit(1024l*1024*64);
broker.addConnector("tcp://localhost:0").setName("Default");
broker.start();