From: Nizamudeen A Date: Mon, 28 Oct 2024 05:45:25 +0000 (+0530) Subject: qa/dashboard: fix tasks.mgr.dashboard.test_health.HealthTest X-Git-Tag: testing/wip-vshankar-testing-20241118.055430-debug~30^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=79d61bbb58cb34f9da678e37b4373fc84bd393f5;p=ceph-ci.git 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 --- 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