]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standalone/mon/misc: verify that len(monmap.features.persistent) == 9 39187/head
authorKefu Chai <kchai@redhat.com>
Sat, 30 Jan 2021 14:45:20 +0000 (22:45 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 30 Jan 2021 14:45:20 +0000 (22:45 +0800)
in beb62c029abcf1d596ed624d58cbcb094ee6a292, FEATURE_QUINCY was added to
ceph::features::mon::get_persistent(), so update the test accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/standalone/mon/misc.sh

index 88c2724833e2241a6b66f231128cea833e50b6e3..900501fa367365c38b60de08b81e403e36c67ea4 100755 (executable)
@@ -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