activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1423886 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java
Date Wed, 19 Dec 2012 15:30:13 GMT
Author: gtully
Date: Wed Dec 19 15:30:13 2012
New Revision: 1423886

URL: http://svn.apache.org/viewvc?rev=1423886&view=rev
Log:
fix leveldb variant of test by configuring logSize

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java?rev=1423886&r1=1423885&r2=1423886&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2870Test.java Wed
Dec 19 15:30:13 2012
@@ -75,7 +75,7 @@ public class AMQ2870Test extends org.apa
                         // 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.apa
         properties.put("cleanupInterval", "2000");
         properties.put("checkpointInterval", "2000");
        
+        // leveldb
+        properties.put("logSize", maxFileLengthVal);
+
         IntrospectionSupport.setProperties(persistenceAdapter, properties);
     }
 



Mime
View raw message