From: Joao Eduardo Luis Date: Tue, 13 Oct 2020 08:24:34 +0000 (+0000) Subject: qa/cephtool: test 'mon stat' commands X-Git-Tag: v14.2.17~28^2~33^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fccee062a495c8b92e98c3a0b6d9c6d120f4f286;p=ceph.git qa/cephtool: test 'mon stat' commands Signed-off-by: Joao Eduardo Luis (cherry picked from commit 122388429d01ef2f294dc2846d16d88aa0bdba68) Conflicts: qa/workunits/cephtool/test.sh - drop unrelated "# test elector" comment (elector test not backported) - no "test_mon_priority_and_weight" function in nautilus --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index a4bd3d415a6f..1929d296efd2 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -1180,6 +1180,11 @@ function test_mon_mon() ceph mon feature set kraken --yes-i-really-mean-it expect_false ceph mon feature set abcd expect_false ceph mon feature set abcd --yes-i-really-mean-it + + # test mon stat + # don't check output, just ensure it does not fail. + ceph mon stat + ceph mon stat -f json | jq '.' } function gen_secrets_file()