From 2977086d1da173b07c5a197a145ab6c54a94079e Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 18 Nov 2019 18:51:29 +0800 Subject: [PATCH] qa/workunits/cephtool/test.sh: use "ceph compact" in test_mon_deprecated_commands() both "compact" and "scrub" are now cli command, so we cannot issue them using "tell" anymore. Signed-off-by: Kefu Chai --- qa/workunits/cephtool/test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 8a6d922b6f059..ca8d2390a4c3b 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -2574,14 +2574,14 @@ function test_mon_deprecated_commands() # 'mon_debug_deprecated_as_obsolete = true' and expecting ENOTSUP for # each one of these commands. - ceph tell mon.a injectargs '--mon-debug-deprecated-as-obsolete' - expect_false ceph tell mon.a compact 2> $TMPFILE + ceph tell mon.* injectargs '--mon-debug-deprecated-as-obsolete' + expect_false ceph compact 2> $TMPFILE check_response "\(EOPNOTSUPP\|ENOTSUP\): command is obsolete" - expect_false ceph tell mon.a scrub 2> $TMPFILE + expect_false ceph scrub 2> $TMPFILE check_response "\(EOPNOTSUPP\|ENOTSUP\): command is obsolete" - ceph tell mon.a injectargs '--no-mon-debug-deprecated-as-obsolete' + ceph tell mon.* injectargs '--no-mon-debug-deprecated-as-obsolete' } function test_mon_cephdf_commands() -- 2.39.5