Michael Kublin has submitted this change and it was merged.

Change subject: core: Improve AutoRecoveryManagerTest
......................................................................


core: Improve AutoRecoveryManagerTest

Before this patch, the test ran the OnTime() method and checked that no
exception was thrown.

This patch extends it functionality and used Mockito's verification
capabilities to assert that the correct recovery actions are called.

Change-Id: I5410ad3b5aa383ed0145b0b03ec1b86ef63fb011
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AutoRecoveryManagerTest.java
1 file changed, 27 insertions(+), 4 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5410ad3b5aa383ed0145b0b03ec1b86ef63fb011
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to