]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks: wait for active after mds restart
authorJohn Spray <jspray@redhat.com>
Thu, 25 Sep 2014 10:27:52 +0000 (11:27 +0100)
committerJohn Spray <jspray@redhat.com>
Thu, 25 Sep 2014 10:28:53 +0000 (11:28 +0100)
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 <john.spray@redhat.com>
tasks/mds_client_limits.py

index 34bdea9062b9d3ad66dc2d316a5f3e75471968f2..6bfdcd118e02b44769a8fc5de3240cf9c19d3be7 100644 (file)
@@ -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"