fix for QueueSubscriptionTest and SimpleDispatchPolicyTest

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515996 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2007-03-08 10:13:29 +00:00
parent af9cc56068
commit a08a4a84c7
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ public class QueueSubscriptionTest extends JmsMultipleClientsTestSupport {
prefetchCount = 1; prefetchCount = 1;
messageSize = 1024; // 1 Kb messageSize = 1024; // 1 Kb
// this is gonna be a bit slow what with the low prefetch so bump up the wait time
allMessagesList.setMaximumDuration(allMessagesList.getMaximumDuration() * 20);
doMultipleClientsTest(); doMultipleClientsTest();
assertTotalMessagesReceived(messageCount * producerCount); assertTotalMessagesReceived(messageCount * producerCount);