Allon Mureinik has submitted this change and it was merged.

Change subject: core: Fix broken bll unit test
......................................................................


core: Fix broken bll unit test

An error was introduced due to usage of AsyncTaskDao.getAll in the CTOR of the
AsyncTaskManager sinleton

The following patch uses mocking to create mocked data source +
mocked db facade to handle the error.

Change-Id: If70f5da87e1238f0a545496d6e9700151275d642
Signed-off-by: Yair Zaslavsky <[email protected]>
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/BackwardCompatibilityTaskCreationTest.java
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/DbFacadeLocator.java
2 files changed, 27 insertions(+), 4 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: If70f5da87e1238f0a545496d6e9700151275d642
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to