Skip to content

Commit

Permalink
test: add test case for ping_monitor
Browse files Browse the repository at this point in the history
Signed-off-by: Xinze Chi <[email protected]>
  • Loading branch information
XinzeChi committed Mar 24, 2015
1 parent c3c6090 commit 2165d05
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions qa/workunits/cephtool/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down Expand Up @@ -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"

Expand Down

0 comments on commit 2165d05

Please sign in to comment.