Change in vdsm[master]: tests: Test storagetestlib FakeEnv functions

nsoffer at redhat.com nsoffer at redhat.com
Wed Apr 13 15:08:10 UTC 2016


Nir Soffer has submitted this change and it was merged.

Change subject: tests: Test storagetestlib FakeEnv functions
......................................................................


tests: Test storagetestlib FakeEnv functions

The storagetestlib module provides functionality to create fake file and
block storage environments which help to unit test storage code.  As
this code has gotten more complex we need to test that it is actually
working correctly itself.

The new storagetestlibTests module tests both file and block
environments.  We check that the temporary directory housing the fake
environment has the correct layout and that metadata for the domain and
volumes 'persists' to the storage.

Change-Id: I65ab8c6419dfa1181efff2a533c00589ba5b8263
Signed-off-by: Adam Litke <alitke at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/55889
Reviewed-by: Nir Soffer <nsoffer at redhat.com>
Continuous-Integration: Jenkins CI
---
M tests/Makefile.am
A tests/storagetestlibTests.py
2 files changed, 141 insertions(+), 0 deletions(-)

Approvals:
  Nir Soffer: Looks good to me, approved
  Adam Litke: Verified
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I65ab8c6419dfa1181efff2a533c00589ba5b8263
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the vdsm-patches mailing list