Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B7A1D70D for ; Wed, 19 Dec 2012 15:30:37 +0000 (UTC) Received: (qmail 2161 invoked by uid 500); 19 Dec 2012 15:30:37 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 2132 invoked by uid 500); 19 Dec 2012 15:30:37 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 2125 invoked by uid 99); 19 Dec 2012 15:30:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 15:30:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 15:30:35 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DD2F9238890D; Wed, 19 Dec 2012 15:30:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@activemq.apache.org From: gtully@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121219153013.DD2F9238890D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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); }