Daniel Erez has submitted this change and it was merged.
Change subject: tests: fix MoveDisksCommandTest for vmNotInPreview
......................................................................
tests: fix MoveDisksCommandTest for vmNotInPreview
In this patch:
* fix the MoveDisksCommandTest that were failing during the
vmNotInPreview validation
* add a new canDoActionVmInPreview test to verify the vmNotInPreview
validation
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=865021
Change-Id: I79a5c0e519f70d887d0f84017d870c4c475ea8e9
Signed-off-by: Federico Simoncelli <fsimonce(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveDisksCommand.java
M
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/MoveDisksCommandTest.java
2 files changed, 42 insertions(+), 2 deletions(-)
Approvals:
Federico Simoncelli: Verified
Daniel Erez: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/11510
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I79a5c0e519f70d887d0f84017d870c4c475ea8e9
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>