From d1f24d053f367511cf12a43350bad246c5f28c9f Mon Sep 17 00:00:00 2001 From: liuchang0812 Date: Mon, 3 Jul 2017 16:31:31 +0800 Subject: [PATCH] test: add test of ceph compact command Signed-off-by: liuchang0812 --- qa/workunits/cephtool/test.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 428c404baf5..2395f1baef7 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -2332,6 +2332,12 @@ function test_osd_tell_help_command() expect_false ceph tell osd.100 help } +function test_osd_compact() +{ + ceph tell osd.1 compact + ceph daemon osd.1 compact +} + function test_mds_tell_help_command() { local FS_NAME=cephfs @@ -2411,6 +2417,7 @@ OSD_TESTS+=" osd_negative_filestore_merge_threshold" OSD_TESTS+=" tiering_agent" OSD_TESTS+=" admin_heap_profiler" OSD_TESTS+=" osd_tell_help_command" +OSD_TESTS+=" osd_compact" MDS_TESTS+=" mds_tell" MDS_TESTS+=" mon_mds" -- 2.39.5