Repository: activemq-artemis
Updated Branches:
  refs/heads/ARTEMIS-780 d8f4c00e0 -> 112d13654


Fix PendingDeliveryTest


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/112d1365
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/112d1365
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/112d1365

Branch: refs/heads/ARTEMIS-780
Commit: 112d13654f8a793e1df9548099497186c01ecf39
Parents: d8f4c00
Author: Martyn Taylor <mtay...@redhat.com>
Authored: Thu Dec 1 16:54:58 2016 +0000
Committer: Martyn Taylor <mtay...@redhat.com>
Committed: Thu Dec 1 16:54:58 2016 +0000

----------------------------------------------------------------------
 .../tests/integration/clientcrash/PendingDeliveriesTest.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/112d1365/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/PendingDeliveriesTest.java
----------------------------------------------------------------------
diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/PendingDeliveriesTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/PendingDeliveriesTest.java
index e550bef..0738562 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/PendingDeliveriesTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/PendingDeliveriesTest.java
@@ -26,6 +26,7 @@ import javax.jms.MessageProducer;
 import javax.jms.Session;
 
 import org.apache.activemq.artemis.api.core.SimpleString;
+import org.apache.activemq.artemis.core.server.RoutingType;
 import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
 import org.apache.activemq.artemis.logs.AssertionLoggerHandler;
 import org.apache.activemq.artemis.tests.util.SpawnedVMSupport;
@@ -39,7 +40,7 @@ public class PendingDeliveriesTest extends ClientTestBase {
 
    @Before
    public void createQueue() throws Exception {
-      server.createQueue(SimpleString.toSimpleString("queue1"), 
SimpleString.toSimpleString("queue1"), null, true, false);
+      server.createQueue(SimpleString.toSimpleString("queue1"), 
RoutingType.ANYCAST, SimpleString.toSimpleString("queue1"), null, true, false);
    }
 
    @After

Reply via email to