From e2191a8c15b2808f0d02c12f2b7ea589c358f481 Mon Sep 17 00:00:00 2001 From: John Spray Date: Mon, 23 May 2016 16:00:37 +0100 Subject: [PATCH] tasks/cephfs: fix mount wait in test_mount_conn_close Fixes: http://tracker.ceph.com/issues/15900 Signed-off-by: John Spray (cherry picked from commit 76809b1af562558dc5229be4b5d63fa2d043c4ae) --- tasks/cephfs/test_sessionmap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/cephfs/test_sessionmap.py b/tasks/cephfs/test_sessionmap.py index 032b279b9f9e8..7a7c89573fde6 100644 --- a/tasks/cephfs/test_sessionmap.py +++ b/tasks/cephfs/test_sessionmap.py @@ -74,6 +74,7 @@ class TestSessionMap(CephFSTestCase): initial_thread_count = self._get_thread_count(mds_id) self.mount_a.mount() + self.mount_a.wait_until_mounted() self.assertGreater(self._get_thread_count(mds_id), initial_thread_count) self.mount_a.umount_wait() final_thread_count = self._get_thread_count(mds_id) -- 2.39.5