ARTEMIS-857 Fixing QueueControlUsingCoreTest failures after JMX changes
This commit is contained in:
parent
ec9882c553
commit
6b74e2ce8e
|
@ -61,7 +61,7 @@ public class QueueControlUsingCoreTest extends QueueControlTest {
|
||||||
@Override
|
@Override
|
||||||
public void resetGroup(String groupID) {
|
public void resetGroup(String groupID) {
|
||||||
try {
|
try {
|
||||||
proxy.invokeOperation("resetGroup");
|
proxy.invokeOperation("resetGroup", groupID);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e.getMessage(), e);
|
throw new RuntimeException(e.getMessage(), e);
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ public class QueueControlUsingCoreTest extends QueueControlTest {
|
||||||
@Override
|
@Override
|
||||||
public int getGroupCount() {
|
public int getGroupCount() {
|
||||||
try {
|
try {
|
||||||
return (Integer) proxy.invokeOperation("groupCount");
|
return (Integer) proxy.invokeOperation(Integer.TYPE, "getGroupCount");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e.getMessage(), e);
|
throw new RuntimeException(e.getMessage(), e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue