Change in ovirt-engine[master]: engine: Use 'doReturn' instead of 'when' in RefreshGlusterHo...

masayag at redhat.com masayag at redhat.com
Sun Oct 2 12:40:27 UTC 2016


Moti Asayag has submitted this change and it was merged.

Change subject: engine: Use 'doReturn' instead of 'when' in RefreshGlusterHooksCommandTest
......................................................................


engine: Use 'doReturn' instead of 'when' in RefreshGlusterHooksCommandTest

Using when on a spied object causes the real method to be called.

Change-Id: Icd740d3d9ca5532e22754cd7211c16ecbfa6739a
Signed-off-by: Yevgeny Zaspitsky <yzaspits at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/gluster/RefreshGlusterHooksCommandTest.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Sahina Bose: Looks good to me, approved
  Moti Asayag: Looks good to me, but someone else must approve; Passed CI tests
  Yevgeny Zaspitsky: Verified



-- 
To view, visit https://gerrit.ovirt.org/64949
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd740d3d9ca5532e22754cd7211c16ecbfa6739a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list