test: add test case for ping_monitor

Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
This commit is contained in:
Xinze Chi 2015-03-24 12:51:15 +08:00
parent c3c609095e
commit 2165d053a3

View File

@ -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"