activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/6] activemq-artemis git commit: Fix AutoGroupingTest failure
Date Wed, 04 May 2016 20:55:20 GMT
Fix AutoGroupingTest 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/d36a22c4
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/d36a22c4
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/d36a22c4

Branch: refs/heads/master
Commit: d36a22c4a7185a08ed5887e30705c2b263446892
Parents: 170d5c1
Author: jbertram <jbertram@apache.org>
Authored: Wed May 4 15:14:32 2016 -0500
Committer: jbertram <jbertram@apache.org>
Committed: Wed May 4 15:14:32 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/d36a22c4/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 a73e3e5..751d673 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
@@ -119,6 +119,8 @@ public class GroupingTest extends JMSTestBase {
 
    @Test
    public void testGroupingWithJMS2Producer() throws Exception {
+      ConnectionFactory fact = getCF();
+      Assume.assumeFalse("only makes sense withOUT auto-group", ((ActiveMQConnectionFactory)
fact).isAutoGroup());
       final String groupID = UUID.randomUUID().toString();
       JMSContext ctx = addContext(getCF().createContext(JMSContext.SESSION_TRANSACTED));
 


Mime
View raw message