From: John Spray Date: Wed, 31 May 2017 10:59:39 +0000 (-0400) Subject: qa: fix daemon restart between tests X-Git-Tag: v12.1.0~130^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3326321858159daecb379bd6453eae71d1d7502b;p=ceph.git qa: fix daemon restart between tests Previously, calling mds_stop without mds_fail meant that if the filesystem creation was not quick, then we would see those daemons go laggy. This starts to trigger failures now that we have cluster log messages that fire when a daemon gets failed out due to being laggy. Signed-off-by: John Spray --- diff --git a/qa/tasks/cephfs/cephfs_test_case.py b/qa/tasks/cephfs/cephfs_test_case.py index 3f03b1d3e3c..72e8e9f03c0 100644 --- a/qa/tasks/cephfs/cephfs_test_case.py +++ b/qa/tasks/cephfs/cephfs_test_case.py @@ -102,6 +102,7 @@ class CephFSTestCase(CephTestCase): # To avoid any issues with e.g. unlink bugs, we destroy and recreate # the filesystem rather than just doing a rm -rf of files self.mds_cluster.mds_stop() + self.mds_cluster.mds_fail() self.mds_cluster.delete_all_filesystems() self.fs = None # is now invalid!