Federico Simoncelli has posted comments on this change.
Change subject: tests: fix MoveDisksCommandTest for vmNotInPreview
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/MoveDisksCommandTest.java
Line 190: setVmInPreview(false);
Line 191: }
Line 192:
Line 193: private void setVmInPreview(boolean isInPreview) {
Line 194: when(snapshotDao.exists(any(Guid.class),
any(SnapshotStatus.class))).thenReturn(isInPreview);
I tried to narrow this down to SnapshotStatus.IN_PREVIEW but for some reason is
not working. I wonder why.
Line 195: }
Line 196:
Line 197: private void initDiskImage(Guid diskImageId) {
Line 198: DiskImage diskImage = mockDiskImage(diskImageId);
--
To view, visit http://gerrit.ovirt.org/11510
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I79a5c0e519f70d887d0f84017d870c4c475ea8e9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches