NO-JIRA Fixing testReceiveWildcardTopicMatchDoubleWildcard removing JmsTopicWildcardSendReceiveTest::testReceiveWildcardTopicMatchDoubleWildcard
Accordingly to bisect, this test was broken at 21b64b3e4f4fc6dbeaa30ce610ecefa15110100a and it contradicts the commit done at 21b64b3e4f4fc6dbeaa30ce610ecefa15110100a So, this is being removed Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/9c026cac Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/9c026cac Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/9c026cac Branch: refs/heads/master Commit: 9c026cac287d40c811f7ab0ef825e9fcd80f0ac8 Parents: b652c1b Author: Clebert Suconic <[email protected]> Authored: Tue Mar 28 22:11:57 2017 -0400 Committer: Clebert Suconic <[email protected]> Committed: Thu Apr 13 19:18:37 2017 -0400 ---------------------------------------------------------------------- .../amq/JmsTopicWildcardSendReceiveTest.java | 25 -------------------- 1 file changed, 25 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/9c026cac/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JmsTopicWildcardSendReceiveTest.java ---------------------------------------------------------------------- diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JmsTopicWildcardSendReceiveTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JmsTopicWildcardSendReceiveTest.java index a651c0d..c86c6ec 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JmsTopicWildcardSendReceiveTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JmsTopicWildcardSendReceiveTest.java @@ -159,31 +159,6 @@ public class JmsTopicWildcardSendReceiveTest extends JmsTopicSendReceiveTest { } @Test - public void testReceiveWildcardTopicMatchDoubleWildcard() throws Exception { - connection.start(); - Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); - - ActiveMQDestination destination1 = (ActiveMQDestination) session.createTopic("a.*.>.>"); - ActiveMQDestination destination2 = (ActiveMQDestination) session.createTopic("a.b"); - - Message m = null; - MessageConsumer consumer = null; - String text = null; - - consumer = session.createConsumer(destination1); - sendMessage(session, destination2, destination3String); - - m = consumer.receive(1000); - assertNotNull(m); - text = ((TextMessage) m).getText(); - if (!(text.equals(destination1String) || text.equals(destination3String))) { - fail("unexpected message:" + text); - } - - assertNull(consumer.receiveNoWait()); - } - - @Test public void testReceiveWildcardTopicMatchSinglePastTheEndWildcard() throws Exception { connection.start(); Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
