From: Rishabh Dave Date: Tue, 30 Jul 2019 11:27:31 +0000 (+0530) Subject: qa/cephfs: allow specifying mountpoints for FUSE mounts X-Git-Tag: v15.1.0~639^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=48a95d00ba19e4ffa10a950444073135e83517bd;p=ceph.git qa/cephfs: allow specifying mountpoints for FUSE mounts Allow specifying the directory in CephFS that should be FUSE mounted at the given path. Signed-off-by: Rishabh Dave --- diff --git a/qa/tasks/cephfs/fuse_mount.py b/qa/tasks/cephfs/fuse_mount.py index 71f7eb806290..f02e437cd32c 100644 --- a/qa/tasks/cephfs/fuse_mount.py +++ b/qa/tasks/cephfs/fuse_mount.py @@ -26,7 +26,9 @@ class FuseMount(CephFSMount): self.inst = None self.addr = None - def mount(self, mount_path=None, mount_fs_name=None): + def mount(self, mount_path=None, mount_fs_name=None, mountpoint=None): + if mountpoint is not None: + self.mountpoint = mountpoint self.setupfs(name=mount_fs_name) try: