NO-JIRA Fixing testReceiveWildcardTopicMatchDoubleWildcard
removing JmsTopicWildcardSendReceiveTest::testReceiveWildcardTopicMatchDoubleWildcard Accordingly to bisect, this test was broken at21b64b3e4f
and it contradicts the commit done at21b64b3e4f
So, this is being removed
This commit is contained in:
parent
b652c1b5a9
commit
9c026cac28
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue