Skip to content

Commit

Permalink
qa/standalone/mon/misc.sh: Add osdmap-prune tests
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/23621

Signed-off-by: Brad Hubbard <[email protected]>
  • Loading branch information
badone committed Apr 10, 2018
1 parent 447a107 commit c0dac8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qa/standalone/mon/misc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,16 @@ function TEST_mon_features() {

# monmap must have not all k l m persistent
# features set.
jqfilter='.monmap.features.persistent | length == 3'
jqfilter='.monmap.features.persistent | length == 4'
jq_success "$jqinput" "$jqfilter" || return 1
jqfilter='.monmap.features.persistent[]|select(. == "kraken")'
jq_success "$jqinput" "$jqfilter" "kraken" || return 1
jqfilter='.monmap.features.persistent[]|select(. == "luminous")'
jq_success "$jqinput" "$jqfilter" "luminous" || return 1
jqfilter='.monmap.features.persistent[]|select(. == "mimic")'
jq_success "$jqinput" "$jqfilter" "mimic" || return 1
jqfilter='.monmap.features.persistent[]|select(. == "osdmap-prune")'
jq_success "$jqinput" "$jqfilter" "osdmap-prune" || return 1

CEPH_ARGS=$CEPH_ARGS_orig
# that's all folks. thank you for tuning in.
Expand Down

0 comments on commit c0dac8e

Please sign in to comment.