Liron Ar has posted comments on this change. Change subject: engine: Adding new test for read only disk feature. ......................................................................
Patch Set 3: Code-Review+1 (1 comment) .................................................... File backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/UpdateVmDiskCommandTest.java Line 293: // New disk is a read write Line 294: final UpdateVmDiskParameters parameters = createParameters(); Line 295: parameters.getDiskInfo().setReadOnly(false); Line 296: Line 297: when(diskDao.get(diskImageGuid)).thenReturn(createDiskImage()); not directly related - possibly we can move this line to the "initializeCommand" method Line 298: Line 299: // Disk is already attached to VM as a read write Line 300: VmDevice device = createVmDevice(diskImageGuid, vmId); Line 301: doReturn(device).when(vmDeviceDAO).get(device.getId()); -- To view, visit http://gerrit.ovirt.org/21241 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4d490eda5df4387ceedf4e0acd6ccd980249b797 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sergey Gotliv <sgot...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Liron Ar <lara...@redhat.com> Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com> Gerrit-Reviewer: Tal Nisan <tni...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches