NO-JIRA Fixing testReceiveWildcardTopicMatchDoubleWildcard

removing JmsTopicWildcardSendReceiveTest::testReceiveWildcardTopicMatchDoubleWildcard

Accordingly to bisect, this test was broken at 21b64b3e4f

and it contradicts the commit done at 21b64b3e4f

So, this is being removed
This commit is contained in:
Clebert Suconic 2017-03-28 22:11:57 -04:00
parent b652c1b5a9
commit 9c026cac28
1 changed files with 0 additions and 25 deletions

View File

@ -158,31 +158,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();