]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: add test for "dump inode" 27058/head
authortaodd <tdd21151186@gmail.com>
Sat, 16 Jun 2018 09:44:35 +0000 (17:44 +0800)
committerPrashant D <pdhange@redhat.com>
Tue, 19 Mar 2019 23:53:16 +0000 (19:53 -0400)
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
(cherry picked from commit 0bd385f30bc54504a5409ef791df81041e08b580)

Conflicts:
qa/tasks/cephfs/test_misc.py : Added test_dump_inode

qa/tasks/cephfs/test_misc.py

index c3d854fa9009cd03b29cd8c39424df23970f0d07..a50e46e189b7d3a6b9809ae71ccf2366bc847903 100644 (file)
@@ -285,3 +285,8 @@ class TestMisc(CephFSTestCase):
         here.
         """
         self._drop_cache_command_timeout(5)
+    
+    def test_dump_inode(self):
+        info = self.fs.mds_asok(['dump', 'inode', '1'])
+        assert(info['path'] == "/")
+