]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/cephfs: add mount&&unmount test 10774/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Tue, 30 Aug 2016 07:06:26 +0000 (15:06 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Tue, 6 Sep 2016 10:01:09 +0000 (18:01 +0800)
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/test/pybind/test_cephfs.py

index d481da2b8e978e93167272661010287e980228c6..5bc0f6ed53845962432e55782cc4886b34004ebc 100644 (file)
@@ -206,3 +206,10 @@ def test_flock():
     cephfs.close(fd2)
 
     cephfs.close(fd)
+
+@with_setup(setup_test)
+def test_mount_unmount():
+    test_directory()
+    cephfs.unmount()
+    cephfs.mount()
+    test_open()