From 8f49a7d86a238b83738513a3275c7d325cdfefed Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 25 Sep 2014 11:27:52 +0100 Subject: [PATCH] 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 --- tasks/mds_client_limits.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/mds_client_limits.py b/tasks/mds_client_limits.py index 34bdea9062b9d..6bfdcd118e02b 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" -- 2.39.5