From 430d93222a1fd320512859449f3a2644a5694546 Mon Sep 17 00:00:00 2001 From: Simon Gao Date: Sat, 17 Apr 2021 09:47:39 +0800 Subject: [PATCH] qa : add a test for the cmd, dump cache Signed-off-by: Simon Gao --- qa/tasks/cephfs/test_admin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qa/tasks/cephfs/test_admin.py b/qa/tasks/cephfs/test_admin.py index 6a2d63b9a88..7f41efdf53c 100644 --- a/qa/tasks/cephfs/test_admin.py +++ b/qa/tasks/cephfs/test_admin.py @@ -310,6 +310,11 @@ class TestConfigCommands(CephFSTestCase): out = self.fs.mds_asok(['config', 'get', test_key]) self.assertEqual(out[test_key], test_val) + def test_mds_dump_cache_asok(self): + cache_file = "cache_file" + timeout = "1" + self.fs.rank_asok(['dump', 'cache', cache_file, timeout]) + def test_mds_config_tell(self): test_key = "mds_max_purge_ops" test_val = "123" -- 2.39.5