activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: NOJIRA - Speed up Acknowledgement test
Date Sat, 16 Sep 2017 16:33:43 GMT
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.

Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/60b0a0bd
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/60b0a0bd
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/60b0a0bd

Branch: refs/heads/master
Commit: 60b0a0bd0944eb4a4511286d5db784052d9fe593
Parents: b7b2960
Author: Michael Andre Pearce <Michael.Andre.Pearce@me.com>
Authored: Fri Sep 15 10:35:27 2017 +0100
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Sat Sep 16 12:33:49 2017 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/jms/tests/AcknowledgementTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/60b0a0bd/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/AcknowledgementTest.java
----------------------------------------------------------------------
diff --git a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/AcknowledgementTest.java
b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/AcknowledgementTest.java
index a9ede4b..9d72dc5 100644
--- a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/AcknowledgementTest.java
+++ b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/AcknowledgementTest.java
@@ -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);


Mime
View raw message