Martin Beták has posted comments on this change.
Change subject: restapi: [WIP] Add Test for adding VmPool via REST
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolsResourceTest.java
Line 145: verifyModelSpecific(model, index);
Line 146: }
Line 147:
Line 148: static void verifyModelSpecific(VmPool model, int index) {
Line 149: assertNotNull(model.getCluster());
All of the above tests fail because the cluster and template properites of the
resulting model are null. Do you have any idea what could be the cause of this?
Line 150: assertEquals(GUIDS[2], model.getCluster().getId());
Line 151: assertNotNull(model.getTemplate());
Line 152: assertEquals(GUIDS[1], model.getTemplate().getId());
Line 153: }
--
To view, visit http://gerrit.ovirt.org/14560
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I3f91f937bd6302af7f9f96fe7b3c7dfd614c2437
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Beták <[email protected]>
Gerrit-Reviewer: Martin Beták <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches