]> 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>
Thu, 22 Aug 2024 07:57:25 +0000 (15:57 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 22 Aug 2024 07:58:47 +0000 (15:58 +0800)
commit872d20b7e970486066a0d2548573b3e702419bf1
treede022a2d5890f7410bb638172c69f2d39456ad99
parentc451dbc97eea6ac9505d278b7601e62d9b22b67a
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)
Conflicts:
  - Just fixed the code needed in reef.
qa/tasks/cephfs/test_admin.py