From 5a0fd5d08671e1ab4886f27fc404b387a375a32b Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Wed, 19 Dec 2012 15:30:13 +0000 Subject: [PATCH] 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 --- .../src/test/java/org/apache/activemq/bugs/AMQ2870Test.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java b/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java index 8f515a7fa2..618b385972 100644 --- a/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java +++ b/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java @@ -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); }