]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: backup mount object before running tests
authorRishabh Dave <ridave@redhat.com>
Mon, 24 Aug 2020 18:34:40 +0000 (00:04 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 11 Sep 2020 12:34:23 +0000 (18:04 +0530)
commit4e0f090861f76741b9f63327bb71bc7e44dffc3d
tree301024855d52e967124b97cfdf9ca705c9371329
parent352a41d1b31b0e6dd2414d3b00ab4f38e456ef92
qa/cephfs: backup mount object before running tests

Right now, only client IDs are stashed and restored but with the recent
changes (addition of more attributes to mount objects, specifically),
this is not enough. Saving and restoring these details before and after
tests respectively ensures that mount commands rus smoothly. Not doing
this typically leads to mount command failure for the second test in the
testsuite under execution since the client IDs are saved and restored in
CephFSTestCase.setUp and CephFSTestCase.tearDown respectively but the
rest of the details are not.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/cephfs_test_case.py