You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/09/16 16:33:42 UTC

[1/2] activemq-artemis git commit: This closes #1538

Repository: activemq-artemis
Updated Branches:
  refs/heads/master b7b2960e1 -> df5462ad7


This closes #1538


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

Branch: refs/heads/master
Commit: df5462ad72f68a3aa986b7b25dd66d9339e5456a
Parents: b7b2960 60b0a0b
Author: Clebert Suconic <cl...@apache.org>
Authored: Sat Sep 16 12:33:49 2017 -0400
Committer: Clebert Suconic <cl...@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(-)
----------------------------------------------------------------------



[2/2] activemq-artemis git commit: NOJIRA - Speed up Acknowledgement test

Posted by cl...@apache.org.
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 <Mi...@me.com>
Authored: Fri Sep 15 10:35:27 2017 +0100
Committer: Clebert Suconic <cl...@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);