From 8dc097ff46d8491930f49d8fec74c43914bc474c Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 30 Jan 2021 22:45:20 +0800 Subject: [PATCH] qa/standalone/mon/misc: verify that len(monmap.features.persistent) == 9 in beb62c029abcf1d596ed624d58cbcb094ee6a292, FEATURE_QUINCY was added to ceph::features::mon::get_persistent(), so update the test accordingly. Signed-off-by: Kefu Chai --- qa/standalone/mon/misc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/standalone/mon/misc.sh b/qa/standalone/mon/misc.sh index 88c2724833e22..900501fa36736 100755 --- a/qa/standalone/mon/misc.sh +++ b/qa/standalone/mon/misc.sh @@ -261,7 +261,7 @@ function TEST_mon_features() { jq_success "$jqinput" "$jqfilter" "pacific" || return 1 jqfilter='.monmap.features.persistent[]|select(. == "elector-pinging")' jq_success "$jqinput" "$jqfilter" "elector-pinging" || return 1 - jqfilter='.monmap.features.persistent | length == 8' + jqfilter='.monmap.features.persistent | length == 9' jq_success "$jqinput" "$jqfilter" || return 1 jqfilter='.monmap.features.persistent[]|select(. == "quincy")' jq_success "$jqinput" "$jqfilter" "quincy" || return 1 -- 2.39.5