From 068b7946ce14a8b9d02fa49bd05b8f4113a8ad88 Mon Sep 17 00:00:00 2001 From: gtully Date: Wed, 9 Aug 2017 11:40:15 +0100 Subject: [PATCH] [AMQ-6643][AMQ-5594] fix test regression to reflect match strategy --- ...irtualDestinationsWithWildcardLevelDBTest.java | 15 +++------------ ...BrokerVirtualDestinationsWithWildcardTest.java | 4 ++-- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SingleBrokerVirtualDestinationsWithWildcardLevelDBTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SingleBrokerVirtualDestinationsWithWildcardLevelDBTest.java index 543f83fc35..55d6e8f20d 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SingleBrokerVirtualDestinationsWithWildcardLevelDBTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SingleBrokerVirtualDestinationsWithWildcardLevelDBTest.java @@ -16,20 +16,11 @@ */ package org.apache.activemq.usecases; -import org.apache.activemq.JmsMultipleBrokersTestSupport; -import org.apache.activemq.broker.BrokerService; -import org.apache.activemq.broker.region.DestinationInterceptor; -import org.apache.activemq.broker.region.virtual.VirtualDestination; -import org.apache.activemq.broker.region.virtual.VirtualDestinationInterceptor; -import org.apache.activemq.broker.region.virtual.VirtualTopic; -import org.apache.activemq.leveldb.LevelDBStore; -import org.apache.activemq.store.kahadb.KahaDBStore; -import org.apache.activemq.util.MessageIdList; - -import javax.jms.MessageConsumer; import java.io.File; import java.io.IOException; -import java.net.URI; + +import org.apache.activemq.broker.BrokerService; +import org.apache.activemq.leveldb.LevelDBStore; public class SingleBrokerVirtualDestinationsWithWildcardLevelDBTest extends SingleBrokerVirtualDestinationsWithWildcardTest { diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SingleBrokerVirtualDestinationsWithWildcardTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SingleBrokerVirtualDestinationsWithWildcardTest.java index 7c078b508a..eaee73390f 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SingleBrokerVirtualDestinationsWithWildcardTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/SingleBrokerVirtualDestinationsWithWildcardTest.java @@ -64,10 +64,10 @@ public class SingleBrokerVirtualDestinationsWithWildcardTest extends JmsMultiple startAllBrokers(); sendReceive("local.test.1", true, "Consumer.a.local.test.1", false, 1, 1); - sendReceive("local.test.1", true, "Consumer.a.local.test.>", false, 1, 1); + sendReceive("local.test.1", true, "Consumer.a.local.test.>", false, 1, 2); sendReceive("local.test.1.2", true, "Consumer.a.local.test.>", false, 1, 1); sendReceive("global.test.1", true, "Consumer.a.global.test.1", false, 1, 1); - sendReceive("global.test.1", true, "Consumer.a.global.test.>", false, 1, 1); + sendReceive("global.test.1", true, "Consumer.a.global.test.>", false, 1, 2); sendReceive("global.test.1.2", true, "Consumer.a.global.test.>", false, 1, 1); destroyAllBrokers();