]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: delete all fs during tearDown 39725/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 26 Feb 2021 17:13:21 +0000 (09:13 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 26 Feb 2021 17:13:21 +0000 (09:13 -0800)
During the ceph task Unwind, the MDS are stopped. If any file system
still exists, we will see failover messages in the cluster log.

Fixes: https://tracker.ceph.com/issues/49510
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/cephfs/cephfs_test_case.py

index 9d689456c9de4a5521aed15e642b6ea5f1e23fa8..49e7ad720864ce9d9812a379acec09a771231696 100644 (file)
@@ -214,6 +214,9 @@ class CephFSTestCase(CephTestCase):
         for m in self.mounts:
             m.teardown()
 
+        # To prevent failover messages during Unwind of ceph task
+        self.mds_cluster.delete_all_filesystems()
+
         for m, md in zip(self.mounts, self._orig_mount_details):
             md.restore(m)