]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test: revert to default mount state in test_cephfs:test_mount_root()
authorVenky Shankar <vshankar@redhat.com>
Fri, 28 Feb 2020 07:36:36 +0000 (02:36 -0500)
committerVenky Shankar <vshankar@redhat.com>
Fri, 28 Feb 2020 16:42:17 +0000 (11:42 -0500)
commitdb8b8a6791060eeb4aa10d00ffbb56e71a22142e
tree9ae5aadc6dd1008cd323eb3015457b8c3eebb542
parente22d546beb0472bf7e9bb038aa5e781d90a52349
test: revert to default mount state in test_cephfs:test_mount_root()

without this tests written after test_mount_root() in the source
were failing with

     cephfs.LibCephFSStateError: You cannot perform that operation on a
     CephFS object in state initialized.

... since the test fiddles with the default mount which is root.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/test/pybind/test_cephfs.py