From 2b05ba2da7ce9abb8626e40e03e2d32e61c282f5 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Tue, 13 Oct 2020 08:24:34 +0000 Subject: [PATCH] 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) --- qa/workunits/cephtool/test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 77b36e0ca3ae..cb94fb40683b 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -1165,6 +1165,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 test_mon_priority_and_weight() -- 2.47.3