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: NO-JIRA Fixing testReceiveWildcardTopicMatchDoubleWildcard
Date Thu, 13 Apr 2017 23:18:45 GMT
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 <clebertsuconic@apache.org>
Authored: Tue Mar 28 22:11:57 2017 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
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);


Mime
View raw message