]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: fix TEST_mon_features persistent feature checks in mon/misc.sh 69005/head
authorJaya Prakash <jayaprakash@ibm.com>
Tue, 19 May 2026 17:02:22 +0000 (17:02 +0000)
committerJaya Prakash <jayaprakash@ibm.com>
Tue, 19 May 2026 17:02:32 +0000 (17:02 +0000)
The test reused the "tentacle" jq filter while validating
"nvmeof_beacon_diff", causing the comparison to fail. Also fix
the umbrella feature validation and update the expected
persistent feature count.

Fixes: https://tracker.ceph.com/issues/76472
Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
qa/standalone/mon/misc.sh

index f136db0eb78b3c1479a78f5cf30e5ad4287c8c8e..e5d3e409348f805cd30a217f6e3237acd818f46e 100755 (executable)
@@ -285,10 +285,11 @@ function TEST_mon_features() {
     jq_success "$jqinput" "$jqfilter" "squid" || return 1
     jqfilter='.monmap.features.persistent[]|select(. == "tentacle")'
     jq_success "$jqinput" "$jqfilter" "tentacle" || return 1
+    jqfilter='.monmap.features.persistent[]|select(. == "nvmeof_beacon_diff")'
     jq_success "$jqinput" "$jqfilter" "nvmeof_beacon_diff" || return 1
     jqfilter='.monmap.features.persistent[]|select(. == "umbrella")'
-    jq_success "$jqinput" "$jqfilter" "tentacle" || return 1
-    jqfilter='.monmap.features.persistent | length == 13'
+    jq_success "$jqinput" "$jqfilter" "umbrella" || return 1
+    jqfilter='.monmap.features.persistent | length == 14'
     jq_success "$jqinput" "$jqfilter" || return 1
 
     CEPH_ARGS=$CEPH_ARGS_orig