]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: add test of ceph compact command 16045/head
authorliuchang0812 <liuchang0812@gmail.com>
Mon, 3 Jul 2017 08:31:31 +0000 (16:31 +0800)
committerliuchang0812 <liuchang0812@gmail.com>
Thu, 13 Jul 2017 14:06:35 +0000 (22:06 +0800)
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
qa/workunits/cephtool/test.sh

index 428c404baf5c49c6f0133e394fde06495919d18c..2395f1baef73130ec70aec5c8a0ce94eb040717d 100755 (executable)
@@ -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"