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 54F049ED0 for ; Tue, 29 Nov 2011 00:07:49 +0000 (UTC) Received: (qmail 50380 invoked by uid 500); 29 Nov 2011 00:07:49 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 50356 invoked by uid 500); 29 Nov 2011 00:07:49 -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 50349 invoked by uid 99); 29 Nov 2011 00:07:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 00:07:49 +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; Tue, 29 Nov 2011 00:07:46 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 950AC23888CC for ; Tue, 29 Nov 2011 00:07:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1207713 - in /activemq/trunk/activemq-core/src/test/java/org/apache/activemq: broker/region/cursors/NegativeQueueTest.java bugs/DurableConsumerTest.java store/kahadb/plist/PListTest.java Date: Tue, 29 Nov 2011 00:07:25 -0000 To: commits@activemq.apache.org From: gtully@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111129000725.950AC23888CC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gtully Date: Tue Nov 29 00:07:23 2011 New Revision: 1207713 URL: http://svn.apache.org/viewvc?rev=1207713&view=rev Log: reduce the duration of this tests Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/cursors/NegativeQueueTest.java activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/kahadb/plist/PListTest.java Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/cursors/NegativeQueueTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/cursors/NegativeQueueTest.java?rev=1207713&r1=1207712&r2=1207713&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/cursors/NegativeQueueTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/cursors/NegativeQueueTest.java Tue Nov 29 00:07:23 2011 @@ -90,7 +90,7 @@ public class NegativeQueueTest extends A private static final long MEMORY_USAGE = 400000000; private static final long TEMP_USAGE = 200000000; private static final long STORE_USAGE = 1000000000; - private static final int MESSAGE_COUNT = 2000; + private static final int MESSAGE_COUNT = 1100; protected static final boolean TRANSACTED = true; protected static final boolean DEBUG = true; @@ -106,13 +106,13 @@ public class NegativeQueueTest extends A blastAndConsume(); } - public void testWithDefaultPrefetchFiveConsumers() throws Exception{ + public void x_testWithDefaultPrefetchFiveConsumers() throws Exception{ PREFETCH_SIZE = 1000; NUM_CONSUMERS = 5; blastAndConsume(); } - public void testWithDefaultPrefetchTwoConsumers() throws Exception{ + public void x_testWithDefaultPrefetchTwoConsumers() throws Exception{ PREFETCH_SIZE = 1000; NUM_CONSUMERS = 2; blastAndConsume(); @@ -130,7 +130,7 @@ public class NegativeQueueTest extends A blastAndConsume(); } - public void testWithSmallPrefetch() throws Exception{ + public void x_testWithSmallPrefetch() throws Exception{ PREFETCH_SIZE = 10; NUM_CONSUMERS = 20; blastAndConsume(); Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java?rev=1207713&r1=1207712&r2=1207713&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java Tue Nov 29 00:07:23 2011 @@ -64,7 +64,7 @@ import org.slf4j.LoggerFactory; */ public class DurableConsumerTest extends CombinationTestSupport{ private static final Logger LOG = LoggerFactory.getLogger(DurableConsumerTest.class); - private static int COUNT = 1024 * 10; + private static int COUNT = 1024; private static String CONSUMER_NAME = "DURABLE_TEST"; protected BrokerService broker; Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/kahadb/plist/PListTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/kahadb/plist/PListTest.java?rev=1207713&r1=1207712&r2=1207713&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/kahadb/plist/PListTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/kahadb/plist/PListTest.java Tue Nov 29 00:07:23 2011 @@ -187,7 +187,7 @@ public class PListTest { final Vector exceptions = new Vector(); - final int iterations = 5000; + final int iterations = 1000; final int numLists = 10; final PList[] lists = new PList[numLists]; @@ -268,12 +268,11 @@ public class PListTest { IOHelper.deleteChildren(directory); store = new PListStore(); store.setDirectory(directory); - //store.setJournalMaxFileLength(1024*5); store.start(); final int numThreads = 20; - final int iterations = 2000; + final int iterations = 1000; executor = Executors.newFixedThreadPool(100); for (int i=0; i