From 6b74e2ce8e37dca613148809140228aef2a485dd Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Tue, 17 Apr 2018 16:11:55 -0400 Subject: [PATCH] ARTEMIS-857 Fixing QueueControlUsingCoreTest failures after JMX changes --- .../integration/management/QueueControlUsingCoreTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 3060799df6..dcdb2f108f 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 @@ -61,7 +61,7 @@ public class QueueControlUsingCoreTest extends QueueControlTest { @Override public void resetGroup(String groupID) { try { - proxy.invokeOperation("resetGroup"); + proxy.invokeOperation("resetGroup", groupID); } catch (Exception e) { throw new RuntimeException(e.getMessage(), e); } @@ -70,7 +70,7 @@ public class QueueControlUsingCoreTest extends QueueControlTest { @Override public int getGroupCount() { try { - return (Integer) proxy.invokeOperation("groupCount"); + return (Integer) proxy.invokeOperation(Integer.TYPE, "getGroupCount"); } catch (Exception e) { throw new RuntimeException(e.getMessage(), e); }