Nir Soffer has submitted this change and it was merged. Change subject: tests: Share FakeScheduler and use in TestCopyDataDIV ......................................................................
tests: Share FakeScheduler and use in TestCopyDataDIV The FakeScheduler class in jobsTests.py is also needed by TestCopyDataDIV. Introduce a new fakelib.py module for sharing fakes of top-level vdsm lib objects. The copy_data job now relies on the jobs module being properly initialized with a Scheduler (for autodelete). Add setUp and tearDown methods to the tests to properly manage this using the newly available FakeScheduler. Change-Id: I44a7e15f2eeee8aefa9a2470f940237dc5b4469d Signed-off-by: Adam Litke <ali...@redhat.com> Reviewed-on: https://gerrit.ovirt.org/64228 Continuous-Integration: Jenkins CI Reviewed-by: Nir Soffer <nsof...@redhat.com> Tested-by: Nir Soffer <nsof...@redhat.com> --- M tests/Makefile.am A tests/fakelib.py M tests/jobsTests.py M tests/storage_sdm_copy_data_test.py 4 files changed, 42 insertions(+), 11 deletions(-) Approvals: Nir Soffer: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/64228 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I44a7e15f2eeee8aefa9a2470f940237dc5b4469d Gerrit-PatchSet: 4 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Adam Litke <ali...@redhat.com> Gerrit-Reviewer: Adam Litke <ali...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com> Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org> _______________________________________________ vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org