Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 14048 invoked from network); 15 Aug 2008 15:48:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2008 15:48:52 -0000 Received: (qmail 15581 invoked by uid 500); 15 Aug 2008 15:48:50 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 15560 invoked by uid 500); 15 Aug 2008 15:48:50 -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 15551 invoked by uid 99); 15 Aug 2008 15:48:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 08:48:50 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Fri, 15 Aug 2008 15:48:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 427CC2388988; Fri, 15 Aug 2008 08:48:01 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r686257 - in /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker: jmx/MBeanTest.java region/SubscriptionAddRemoveQueueTest.java Date: Fri, 15 Aug 2008 15:48:00 -0000 To: commits@activemq.apache.org From: rajdavies@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080815154801.427CC2388988@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rajdavies Date: Fri Aug 15 08:48:00 2008 New Revision: 686257 URL: http://svn.apache.org/viewvc?rev=686257&view=rev Log: Fix for https://issues.apache.org/activemq/browse/AMQ-1878 Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java?rev=686257&r1=686256&r2=686257&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java Fri Aug 15 08:48:00 2008 @@ -54,7 +54,7 @@ protected Connection connection; protected boolean transacted; protected int authMode = Session.AUTO_ACKNOWLEDGE; - protected static final int MESSAGE_COUNT = 2*BaseDestination.DEFAULT_PAGE_SIZE; + protected static final int MESSAGE_COUNT = 2*BaseDestination.MAX_PAGE_SIZE; /** * When you run this test case from the command line it will pause before Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java?rev=686257&r1=686256&r2=686257&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/region/SubscriptionAddRemoveQueueTest.java Fri Aug 15 08:48:00 2008 @@ -310,5 +310,13 @@ public void removeDestination(Destination destination) { } + /* (non-Javadoc) + * @see org.apache.activemq.broker.region.Subscription#countBeforeFull() + */ + public int countBeforeFull() { + // TODO Auto-generated method stub + return 10; + } + } }