ceph/qa/workunits/mgr/test_per_module_finisher.sh
Kotresh HR 2c2ef6d56b qa: Add test for per-module finisher thread
Fixes: https://tracker.ceph.com/issues/51177
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2023-03-29 11:34:07 +05:30

39 lines
624 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
# This testcase tests the per module finisher stats for enabled modules
# using check counter (qa/tasks/check_counter.py).
# 'balancer' commands
ceph balancer pool ls
# 'crash' commands
ceph crash ls
ceph crash ls-new
# 'device' commands
ceph device query-daemon-health-metrics mon.a
# 'iostat' command
ceph iostat &
pid=$!
sleep 3
kill -SIGTERM $pid
# 'pg_autoscaler' command
ceph osd pool autoscale-status
# 'progress' command
ceph progress
ceph progress json
# 'status' commands
ceph fs status
ceph osd status
# 'telemetry' commands
ceph telemetry status
ceph telemetry diff
echo OK