Allow specifying the directory in CephFS that should be FUSE mounted on
the given path when running tests locally.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
514b58e3a32835e10c36a16316e8102cad54f75e)
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(