You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/01/03 05:35:25 UTC

svn commit: r365537 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/QueueSubscriptionTest.java

Author: chirino
Date: Mon Jan  2 20:35:23 2006
New Revision: 365537

URL: http://svn.apache.org/viewcvs?rev=365537&view=rev
Log:
The roundrobin test was failing on slow machines because the prefetch size was too small so the round robined 
distribution was not equals since the slow consumer's prefetch window would fill up and other consumers would
unevenly get more messages.

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/QueueSubscriptionTest.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/QueueSubscriptionTest.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/QueueSubscriptionTest.java?rev=365537&r1=365536&r2=365537&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/QueueSubscriptionTest.java (original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/QueueSubscriptionTest.java Mon Jan  2 20:35:23 2006
@@ -119,7 +119,7 @@
         producerCount = 50;
         messageCount  = 100;
         messageSize   = 1; // 1 byte
-        prefetchCount = 10;
+        prefetchCount = 100;
 
         doMultipleClientsTest();