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:
Robert Davies 2008-02-05 12:11:09 +00:00
parent ad3799cbae
commit 4188ed0b9a
1 changed files with 2 additions and 2 deletions

View File

@ -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);