Fix for intermitent test failure at:

testOneProducerManyConsumersManyMessages(org.apache.activemq.broker.policy.RoundRobinDispatchPolicyTest)
It was checking that messages were evenly distributed accross consumers but that can only be garanteed when 
the consumer prefetches can hold all the published messages.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@561113 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2007-07-30 20:50:01 +00:00
parent 350a2aad7f
commit f90c62c640
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class QueueSubscriptionTest extends JmsMultipleClientsTestSupport {
producerCount = 1;
messageCount = 1000;
messageSize = 1; // 1 byte
prefetchCount = 10;
prefetchCount = messageCount/consumerCount;
doMultipleClientsTest();