From: John Spray Date: Thu, 25 Sep 2014 10:27:52 +0000 (+0100) Subject: tasks: wait for active after mds restart X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8f49a7d86a238b83738513a3275c7d325cdfefed;p=ceph.git tasks: wait for active after mds restart May have been causing spurious failures on trying to read session state after MDS restart ( session list isn't populated until recovery is complete) Signed-off-by: John Spray --- diff --git a/tasks/mds_client_limits.py b/tasks/mds_client_limits.py index 34bdea9062b..6bfdcd118e0 100644 --- a/tasks/mds_client_limits.py +++ b/tasks/mds_client_limits.py @@ -131,6 +131,7 @@ class TestClientLimits(CephFSTestCase): self.fs.set_ceph_conf('mds', 'mds cache size', cache_size) self.fs.mds_restart() + self.fs.wait_for_daemons() mount_a_client_id = self.mount_a.get_global_id() path = "subdir/mount_a" if use_subdir else "mount_a"