From 8e7a89009c41570e9f87f57d92d519b7c49d7706 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 6 Oct 2020 09:37:21 -0700 Subject: [PATCH] qa: remove redundant rmr The mount.cleanup method will remove the mount point. This `rm -rf` will always fail (with exit status 0). Signed-off-by: Patrick Donnelly --- qa/tasks/cephfs/fuse_mount.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/qa/tasks/cephfs/fuse_mount.py b/qa/tasks/cephfs/fuse_mount.py index 0e872fbad95..360c4a32b11 100644 --- a/qa/tasks/cephfs/fuse_mount.py +++ b/qa/tasks/cephfs/fuse_mount.py @@ -407,17 +407,6 @@ class FuseMount(CephFSMount): self.mounted = False - # Indiscriminate, unlike the touchier cleanup() - self.client_remote.run( - args=[ - 'rm', - '-rf', - self.hostfs_mntpt, - ], - cwd=self.test_dir, - timeout=(60*5) - ) - def _asok_path(self): return "/var/run/ceph/ceph-client.{0}.*.asok".format(self.client_id) -- 2.47.3