ARTEMIS-857 Fixing QueueControlUsingCoreTest failures after JMX changes

This commit is contained in:
Clebert Suconic 2018-04-17 16:11:55 -04:00
parent ec9882c553
commit 6b74e2ce8e
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}