From: Rishabh Dave Date: Tue, 30 Jul 2019 11:26:46 +0000 (+0530) Subject: qa/vstart_runner.py: allow specifying mountpoint for local FUSE mounts X-Git-Tag: v15.1.0~639^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=514b58e3a32835e10c36a16316e8102cad54f75e;p=ceph.git qa/vstart_runner.py: allow specifying mountpoint for local FUSE mounts Allow specifying the directory in CephFS that should be FUSE mounted on the given path when running tests locally. Signed-off-by: Rishabh Dave --- diff --git a/qa/tasks/vstart_runner.py b/qa/tasks/vstart_runner.py index df1ab39692c5..959d7583394a 100644 --- a/qa/tasks/vstart_runner.py +++ b/qa/tasks/vstart_runner.py @@ -784,7 +784,9 @@ class LocalFuseMount(FuseMount): if self.is_mounted(): super(LocalFuseMount, self).umount() - 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) self.client_remote.run(