From 79d61bbb58cb34f9da678e37b4373fc84bd393f5 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Mon, 28 Oct 2024 11:15:25 +0530 Subject: [PATCH] qa/dashboard: fix tasks.mgr.dashboard.test_health.HealthTest as per: https://tracker.ceph.com/issues/47612#note-14 Fixes: https://tracker.ceph.com/issues/47612 Signed-off-by: Nizamudeen A --- qa/tasks/mgr/dashboard/helper.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qa/tasks/mgr/dashboard/helper.py b/qa/tasks/mgr/dashboard/helper.py index e6a7c35a23d..10ce9218fd5 100644 --- a/qa/tasks/mgr/dashboard/helper.py +++ b/qa/tasks/mgr/dashboard/helper.py @@ -220,13 +220,11 @@ class DashboardTestCase(MgrTestCase): # To avoid any issues with e.g. unlink bugs, we destroy and recreate # the filesystem rather than just doing a rm -rf of files - cls.mds_cluster.mds_stop() - cls.mds_cluster.mds_fail() cls.mds_cluster.delete_all_filesystems() + cls.mds_cluster.mds_restart() # to reset any run-time configs, etc. cls.fs = None # is now invalid! cls.fs = cls.mds_cluster.newfs(create=True) - cls.fs.mds_restart() # In case some test messed with auth caps, reset them # pylint: disable=not-an-iterable