From 4de9e887f6d6568b8fc0f9302e3896860f67472f Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Tue, 25 May 2021 11:45:17 -0400 Subject: [PATCH] ARTEMIS-3309 Fixing 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 b0ddd65d82..6f8fe4c589 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 @@ -458,7 +458,7 @@ public class QueueControlUsingCoreTest extends QueueControlTest { @Override public int moveMessages(int flushLimit, String filter, String otherQueueName, boolean rejectDuplicates, int messageCount) throws Exception { - return (Integer) proxy.invokeOperation("moveMessages", flushLimit, filter, otherQueueName, rejectDuplicates, messageCount); + return (Integer) proxy.invokeOperation(Integer.class, "moveMessages", flushLimit, filter, otherQueueName, rejectDuplicates, messageCount); } @Override