From: Xinze Chi Date: Tue, 24 Mar 2015 04:51:15 +0000 (+0800) Subject: test: add test case for ping_monitor X-Git-Tag: v9.0.0~35^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2165d053a3d820876b681101190d4f1c25980884;p=ceph.git test: add test case for ping_monitor Signed-off-by: Xinze Chi --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 149b259bc289..6175cfb33fe7 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -1437,6 +1437,15 @@ EOF ceph osd setcrushmap -i $map } +function test_mon_ping() +{ + ceph ping mon.a + ceph ping mon.b + expect_false ceph ping mon.foo + + ceph ping mon.* +} + # # New tests should be added to the TESTS array below # @@ -1472,6 +1481,7 @@ MON_TESTS+=" mon_osd_misc" MON_TESTS+=" mon_heap_profiler" MON_TESTS+=" mon_tell" MON_TESTS+=" mon_crushmap_validation" +MON_TESTS+=" mon_ping" OSD_TESTS+=" osd_bench"