mirror of https://github.com/apache/activemq.git
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:
parent
350a2aad7f
commit
f90c62c640
|
@ -108,7 +108,7 @@ public class QueueSubscriptionTest extends JmsMultipleClientsTestSupport {
|
|||
producerCount = 1;
|
||||
messageCount = 1000;
|
||||
messageSize = 1; // 1 byte
|
||||
prefetchCount = 10;
|
||||
prefetchCount = messageCount/consumerCount;
|
||||
|
||||
doMultipleClientsTest();
|
||||
|
||||
|
|
Loading…
Reference in New Issue