From 1a8e17fbc352f8844b7f2a9227748812bc017c10 Mon Sep 17 00:00:00 2001 From: gtully Date: Mon, 9 May 2016 12:51:28 +0100 Subject: [PATCH] tidy up test --- .../SelectorAwareVTThatDropsMessagesWhenNoConsumer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SelectorAwareVTThatDropsMessagesWhenNoConsumer.java b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SelectorAwareVTThatDropsMessagesWhenNoConsumer.java index 836570e7c8..9ece297cb1 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SelectorAwareVTThatDropsMessagesWhenNoConsumer.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SelectorAwareVTThatDropsMessagesWhenNoConsumer.java @@ -45,7 +45,7 @@ import static org.junit.Assert.assertEquals; public class SelectorAwareVTThatDropsMessagesWhenNoConsumer { protected static final Logger LOG = LoggerFactory.getLogger(SelectorAwareVTThatDropsMessagesWhenNoConsumer.class); - private static final String QUEUE_NAME="AMQ4899TestQueue"; + private static final String QUEUE_NAME="TestQ"; private static final String CONSUMER_QUEUE="Consumer.Orders.VirtualOrders." + QUEUE_NAME; private static final String PRODUCER_DESTINATION_NAME = "VirtualOrders." + QUEUE_NAME; @@ -67,7 +67,7 @@ public class SelectorAwareVTThatDropsMessagesWhenNoConsumer { } @Test(timeout = 60 * 1000) - public void testVirtualTopicMultipleSelectors() throws Exception{ + public void verifyNoDispatchDuringDisconnect() throws Exception{ ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory("vm://localhost"); Connection connection = factory.createConnection(); connection.start();