From 986af2e99dd8cfdee977f350f1f1426a3dc5d283 Mon Sep 17 00:00:00 2001 From: gtully Date: Mon, 4 Sep 2017 15:17:12 +0100 Subject: [PATCH] ARTEMIS-1381 - fix test QueueControlUsingCoreTest --- .../tests/integration/management/QueueControlUsingCoreTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlUsingCoreTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlUsingCoreTest.java index 0ba9c91076..dcf5d54ec2 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlUsingCoreTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlUsingCoreTest.java @@ -309,7 +309,7 @@ public class QueueControlUsingCoreTest extends QueueControlTest { @Override public int removeAllMessages() throws Exception { - return (Integer) proxy.invokeOperation( "removeAllMessages"); + return (Integer) proxy.invokeOperation(Integer.class, "removeAllMessages"); } @Override