mirror of https://github.com/apache/activemq.git
increase the length of the wait for messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@618620 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ad3799cbae
commit
4188ed0b9a
|
@ -108,7 +108,7 @@ public class QueueSubscriptionTest extends JmsMultipleClientsTestSupport {
|
|||
messageCount = 1000;
|
||||
messageSize = 1; // 1 byte
|
||||
prefetchCount = messageCount / consumerCount;
|
||||
|
||||
allMessagesList.setMaximumDuration(allMessagesList.getMaximumDuration() * 20);
|
||||
doMultipleClientsTest();
|
||||
|
||||
assertTotalMessagesReceived(messageCount * producerCount);
|
||||
|
@ -120,7 +120,7 @@ public class QueueSubscriptionTest extends JmsMultipleClientsTestSupport {
|
|||
messageCount = 100;
|
||||
messageSize = 1; // 1 byte
|
||||
prefetchCount = 100;
|
||||
|
||||
allMessagesList.setMaximumDuration(allMessagesList.getMaximumDuration() * 20);
|
||||
doMultipleClientsTest();
|
||||
|
||||
assertTotalMessagesReceived(messageCount * producerCount);
|
||||
|
|
Loading…
Reference in New Issue