]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: unmount clients before deleting fs 26805/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Feb 2019 17:02:33 +0000 (09:02 -0800)
committerPrashant D <pdhange@redhat.com>
Wed, 6 Mar 2019 23:46:20 +0000 (18:46 -0500)
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 <pdonnell@redhat.com>
(cherry picked from commit a20a61f4764d38c0076f53560b1e2a577d2f07c8)

qa/tasks/cephfs/test_misc.py

index c27278008a4ba58693959f064f45007f5c393436..9c44e6c093797f9abd597fcf9ad99022cfc89027 100644 (file)
@@ -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()