Skip to content

Commit

Permalink
qa: unmount clients before deleting fs
Browse files Browse the repository at this point in the history
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 a20a61f)
  • Loading branch information
batrick authored and Prashant D committed Mar 6, 2019
1 parent c605b54 commit fdbc75a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qa/tasks/cephfs/test_misc.py
Expand Up @@ -52,6 +52,9 @@ def test_root_rctime(self):
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()
Expand Down

0 comments on commit fdbc75a

Please sign in to comment.