ARTEMIS-1606 - Change AddressInfo RoutingType Set to use EnumSet This is fixing the broken testUnsupportedRoutingType test
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/cdc98c2a Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/cdc98c2a Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/cdc98c2a Branch: refs/heads/master Commit: cdc98c2a66ecee72357d3fa0ee0145c41aa3b6a7 Parents: 60a8b49 Author: Francesco Nigro <[email protected]> Authored: Thu Jan 18 20:54:53 2018 +0100 Committer: Michael Pearce <[email protected]> Committed: Thu Jan 18 23:12:01 2018 +0100 ---------------------------------------------------------------------- .../activemq/artemis/tests/integration/client/CreateQueueTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/cdc98c2a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CreateQueueTest.java ---------------------------------------------------------------------- diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CreateQueueTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CreateQueueTest.java index 13d71b3..754405b 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CreateQueueTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/CreateQueueTest.java @@ -74,7 +74,7 @@ public class CreateQueueTest extends ActiveMQTestBase { assertEquals(ActiveMQExceptionType.INTERNAL_ERROR, ae.getType()); } - routingTypes = EnumSet.of(RoutingType.ANYCAST, RoutingType.MULTICAST); + routingTypes = EnumSet.of(RoutingType.MULTICAST); sendSession.createAddress(addressB, routingTypes, false); try { sendSession.createQueue(addressB, RoutingType.ANYCAST, queueB);
