]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/mgr: revert a patch from commit 04ed58f 37233/head
authorRishabh Dave <ridave@redhat.com>
Fri, 18 Sep 2020 11:03:41 +0000 (16:33 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 18 Sep 2020 11:03:41 +0000 (16:33 +0530)
mds_cluster.mds_fail() runs command "mds fail" not "fs fail". The reason
for failure was PR #32581 which accidentally changed the return code
from 0 to EINVAL. Since this was reversed in PR #37159, the change
introduced by 04ed58f is not only incorrect but also redundant.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/mgr/dashboard/helper.py

index ea4268da8469e548dbab1c5897cb76214d89531b..d65f23b04110c91cddf1c8ef0b833874bca45e35 100644 (file)
@@ -155,6 +155,8 @@ 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.fs = None  # is now invalid!