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:
parent
b7b2960e1f
commit
60b0a0bd09
|
@ -1317,7 +1317,7 @@ public class AcknowledgementTest extends JMSTestCase {
|
||||||
ActiveMQJMSConnectionFactory cf2 = (ActiveMQJMSConnectionFactory) getInitialContext().lookup("/testsuitecf2");
|
ActiveMQJMSConnectionFactory cf2 = (ActiveMQJMSConnectionFactory) getInitialContext().lookup("/testsuitecf2");
|
||||||
cf2.setBlockOnAcknowledge(true);
|
cf2.setBlockOnAcknowledge(true);
|
||||||
|
|
||||||
int messageCount = 10000;
|
int messageCount = 100;
|
||||||
|
|
||||||
long sendT1 = send(cf1, queue1, messageCount);
|
long sendT1 = send(cf1, queue1, messageCount);
|
||||||
long sendT2 = send(cf2, queue2, messageCount);
|
long sendT2 = send(cf2, queue2, messageCount);
|
||||||
|
|
Loading…
Reference in New Issue