mirror of https://github.com/apache/activemq.git
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:
parent
d1292441a2
commit
5a0fd5d086
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue