mirror of
https://github.com/ceph/ceph
synced 2025-03-22 02:08:13 +00:00
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 <nia@redhat.com>
This commit is contained in:
parent
1e4f788e4f
commit
79d61bbb58
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user