]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/cephfs: fix TestRenameCommand and unmount the clinet before failing fs
authorXiubo Li <xiubli@redhat.com>
Mon, 15 Jul 2024 06:08:17 +0000 (14:08 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 22 Aug 2024 07:49:52 +0000 (15:49 +0800)
commit672b4ebcde2de61f53a77d79ce7ef8af0126f7fd
treec5f52dd63d27a4fcdf17b80c0073e82b94623aaa
parentfe0f1a54b2262aabff59597f61ceb2581b666ea0
qa/cephfs: fix TestRenameCommand and unmount the clinet before failing fs

We should else bring and wait for MDS to be up since it is needed
for unmounting of CephFS in CephFSTestCase.tearDown() to be successful,
or just unmount the mountpoints before failing the filesystem.

Since the mountpoint won't be used in later tests so we just unmount
it.

Fixes: https://tracker.ceph.com/issues/66946
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit ae3faac004e64fa2e3bd4a3ff0d823db4da2685c)
qa/tasks/cephfs/test_admin.py