]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: test_rados_tool - change check on osd dump command to use json 66459/head
authorJon Bailey <jonathan.bailey1@ibm.com>
Tue, 26 May 2026 12:31:47 +0000 (13:31 +0100)
committerJon Bailey <jonathan.bailey1@ibm.com>
Thu, 28 May 2026 14:15:51 +0000 (15:15 +0100)
commit06034c676c42c404c2bdc75245fcdf22d86b0111
treed1aaf622944374fbf1e537d1b16f5b6dbf60e0e5
parentc8bdf7384c038328798b4509b84d2db6f9c7c59d
qa: test_rados_tool - change check on osd dump command to use json

Previously the test_rados_tool.sh test was dependant on flag ordering. This mean if you added a new flag after full_quota (such as split_reads or ec_optimizations), this could break the teuthology test if we try to test with these flags on. We prevent this by changing this condition to use json to ensure we are no longer depend on the order of the flags which the default command line output gives.

This also adds a check to ensure the pool name matches what we are working on, to ensure we don't get false-positives if we happened to have other pools.

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
qa/workunits/rados/test_rados_tool.sh