Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
(cherry picked from commit
d1f24d053f367511cf12a43350bad246c5f28c9f)
Conflicts:
qa/workunits/cephtool/test.sh
Removed all tests which are not part of this backport
ceph config-key get test_key -o - | grep -c foo | grep -q 1
}
+function test_osd_compact()
+{
+ ceph tell osd.1 compact
+ ceph daemon osd.1 compact
+}
+
#
# New tests should be added to the TESTS array below
#
OSD_TESTS+=" osd_bench"
OSD_TESTS+=" osd_negative_filestore_merge_threshold"
OSD_TESTS+=" tiering_agent"
+OSD_TESTS+=" osd_compact"
MDS_TESTS+=" mds_tell"
MDS_TESTS+=" mon_mds"