]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: upgrade is_mounted() in mount.py 45036/head
authorRishabh Dave <ridave@redhat.com>
Tue, 7 Dec 2021 10:34:00 +0000 (16:04 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 20 Jul 2022 17:06:18 +0000 (22:36 +0530)
commitf96031b9202b2169e2d81746d14daa702864857c
treeab8b6fd997796e1b842e34df4fdcc2e65ab84508
parent311a7b6b0e1db47ba0219bc9196f507faff817ed
qa/cephfs: upgrade is_mounted() in mount.py

Instead of relying on value of a mutable variable, actually check if the
CephFS is mounted on the system. This will prevent bugs due to stale and
incorrect values.

Fixes: https://tracker.ceph.com/issues/54283
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/fuse_mount.py
qa/tasks/cephfs/kernel_mount.py
qa/tasks/cephfs/mount.py