Change in ovirt-engine[master]: core: use the junit's Silent runner in DiskValidatorTest

Code Review gerrit at ovirt.org
Tue Jan 24 12:00:57 UTC 2017


>From Allon Mureinik <amureini at redhat.com>:

Allon Mureinik has submitted this change and it was merged.

Change subject: core: use the junit's Silent runner in DiskValidatorTest
......................................................................


core: use the junit's Silent runner in DiskValidatorTest

DiskValidatorTest fails with UnnecessaryStubbingException because of two
places where the vmDao's stubbing is not used.
This patch changes the runner to MockitoJUnitRunner.Silent to ignore
that error.

Change-Id: If309fb72fdd5f5a89773f8bd419cf99ced0a535f
Signed-off-by: Idan Shaby <ishaby at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/validator/storage/DiskValidatorTest.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Allon Mureinik: Looks good to me, approved
  Idan Shaby: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: If309fb72fdd5f5a89773f8bd419cf99ced0a535f
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list