]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa: remove redundant rmr
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 6 Oct 2020 16:37:21 +0000 (09:37 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 13 Oct 2020 17:16:40 +0000 (10:16 -0700)
The mount.cleanup method will remove the mount point. This `rm -rf` will
always fail (with exit status 0).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/cephfs/fuse_mount.py

index 0e872fbad95f34d60fb5a6d616e41df08caea1c8..360c4a32b110cd3c8fe8863829ce5176d9662d2e 100644 (file)
@@ -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)