mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default so set expected value in test
This commit is contained in:
parent
031611ed22
commit
ff3bad1ae9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue