mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
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 <kchai@redhat.com>
This commit is contained in:
parent
e96df8c44b
commit
2977086d1d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user