NOJIRA - Speed up Acknowledgement test

Currently this test can take over 30seconds just itself. It seems we can safely reduce the number of messages to validate perf improvement greatly reducing test time.
This commit is contained in:
Michael Andre Pearce 2017-09-15 10:35:27 +01:00 committed by Clebert Suconic
parent b7b2960e1f
commit 60b0a0bd09
1 changed files with 1 additions and 1 deletions

View File

@ -1317,7 +1317,7 @@ public class AcknowledgementTest extends JMSTestCase {
ActiveMQJMSConnectionFactory cf2 = (ActiveMQJMSConnectionFactory) getInitialContext().lookup("/testsuitecf2");
cf2.setBlockOnAcknowledge(true);
int messageCount = 10000;
int messageCount = 100;
long sendT1 = send(cf1, queue1, messageCount);
long sendT2 = send(cf2, queue2, messageCount);