fix leveldb variant of test by configuring logSize

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1423886 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2012-12-19 15:30:13 +00:00
parent d1292441a2
commit 5a0fd5d086
1 changed files with 4 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class AMQ2870Test extends org.apache.activemq.TestSupport {
// sends complete it is no longer updated till next send via a call to isFull
// this is optimal as it is only used to block producers
broker.getSystemUsage().getStoreUsage().isFull();
LOG.info("store precent usage: "+brokerView.getStorePercentUsage());
LOG.info("store percent usage: "+brokerView.getStorePercentUsage());
return broker.getAdminView().getStorePercentUsage() < minPercentUsageForStore;
}
}));
@ -166,6 +166,9 @@ public class AMQ2870Test extends org.apache.activemq.TestSupport {
properties.put("cleanupInterval", "2000");
properties.put("checkpointInterval", "2000");
// leveldb
properties.put("logSize", maxFileLengthVal);
IntrospectionSupport.setProperties(persistenceAdapter, properties);
}