activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [3/6] activemq-artemis git commit: Fix GroupIDTest failure
Date Wed, 04 May 2016 20:55:21 GMT
Fix GroupIDTest failure


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

Branch: refs/heads/master
Commit: 89a0ffe1b2df50167af98248a7837aeb1f3b3999
Parents: d36a22c
Author: jbertram <jbertram@apache.org>
Authored: Wed May 4 15:16:51 2016 -0500
Committer: jbertram <jbertram@apache.org>
Committed: Wed May 4 15:16:51 2016 -0500

----------------------------------------------------------------------
 .../activemq/artemis/tests/integration/jms/client/GroupingTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/89a0ffe1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/client/GroupingTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/client/GroupingTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/client/GroupingTest.java
index 751d673..295db6a 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/client/GroupingTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/client/GroupingTest.java
@@ -121,6 +121,7 @@ public class GroupingTest extends JMSTestBase {
    public void testGroupingWithJMS2Producer() throws Exception {
       ConnectionFactory fact = getCF();
       Assume.assumeFalse("only makes sense withOUT auto-group", ((ActiveMQConnectionFactory)
fact).isAutoGroup());
+      Assume.assumeTrue("only makes sense withOUT explicit group-id", ((ActiveMQConnectionFactory)
fact).getGroupID() == null);
       final String groupID = UUID.randomUUID().toString();
       JMSContext ctx = addContext(getCF().createContext(JMSContext.SESSION_TRANSACTED));
 


Mime
View raw message