Arik Hadas has submitted this change and it was merged.

Change subject: core: hotfix daotests in VmStaticDAOTest
......................................................................


core: hotfix daotests in VmStaticDAOTest

testGetOrderedVmGuidsForRunMultipleActionsByMigrationSupport which tested db
logic for ordered VmGuids retrieval (with respect to MigrationSupport
attribute) was failing because the number of tested vms was 4, but
MigrationSupport has only 3 possible values. Therefore there were 2 VMs that
were equal with respect to this ordering.

Hot-fixed by restricting the number of test VMs to 3.

Change-Id: I0ea611effabb69a693194a6a0639f2d3c17d08e5
Signed-off-by: Frantisek Kobzik <[email protected]>
---
M 
backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VmStaticDAOTest.java
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Frank Kobzik: Verified
  Arik Hadas: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/35914
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0ea611effabb69a693194a6a0639f2d3c17d08e5
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Frank Kobzik <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to