Tal Nisan has uploaded a new change for review. Change subject: restapi: Fix backend vm resource test failure ......................................................................
restapi: Fix backend vm resource test failure Change-Id: I28d694c19bb7c66cb859ab4578a4865956883e11 Signed-off-by: Tal Nisan <[email protected]> --- M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmsResourceTest.java 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/10813/1 diff --git a/backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmsResourceTest.java b/backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmsResourceTest.java index 774775d..2138a81 100644 --- a/backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmsResourceTest.java +++ b/backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmsResourceTest.java @@ -123,8 +123,8 @@ public void testRemoveDetachOnly() throws Exception { setUriInfo(setUpBasicUriExpectations()); setUpGetEntityExpectations(); - setUpGetPayloadExpectations(0); - setUpGetBallooningExpectations(); + setUpGetPayloadExpectations(1, 0); + setUpGetBallooningExpectations(1); setUpActionExpectations(VdcActionType.RemoveVm, RemoveVmParameters.class, new String[] { "VmId", "RemoveDisks" }, new Object[] { GUIDS[0], Boolean.FALSE }, true, true); -- To view, visit http://gerrit.ovirt.org/10813 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I28d694c19bb7c66cb859ab4578a4865956883e11 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tal Nisan <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
