From: Patrick Donnelly Date: Thu, 28 Feb 2019 17:02:33 +0000 (-0800) Subject: qa: unmount clients before deleting fs X-Git-Tag: v12.2.12~19^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3caf864a4dc8ba5a4d9366b3a1e11639d2b061b4;p=ceph.git qa: unmount clients before deleting fs Client unmount during test cleanup will hang if the file system was deleted. Fixes: http://tracker.ceph.com/issues/38518 Signed-off-by: Patrick Donnelly (cherry picked from commit a20a61f4764d38c0076f53560b1e2a577d2f07c8) --- diff --git a/qa/tasks/cephfs/test_misc.py b/qa/tasks/cephfs/test_misc.py index c27278008a4..9c44e6c0937 100644 --- a/qa/tasks/cephfs/test_misc.py +++ b/qa/tasks/cephfs/test_misc.py @@ -52,6 +52,9 @@ class TestMisc(CephFSTestCase): self.assertGreaterEqual(rctime, t-10) def test_fs_new(self): + self.mount_a.umount_wait() + self.mount_b.umount_wait() + data_pool_name = self.fs.get_data_pool_name() self.fs.mds_stop()