mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
Merge pull request #67723 from perezjosibm/wip-perezjos-tracker75202
qa/workunits: add crimson/test_crimson_dump_metrics.sh
This commit is contained in:
commit
4b3eb2e2bc
@ -27,4 +27,4 @@ tasks:
|
||||
- workunit:
|
||||
clients:
|
||||
client.0:
|
||||
- cephtool/test_crimson_dump_metrics.sh
|
||||
- crimson/test_crimson_dump_metrics.sh
|
||||
|
||||
@ -5,6 +5,9 @@
|
||||
set -x
|
||||
|
||||
function test_dump_metrics() {
|
||||
# Skip this test unless the osd_type is crimson:
|
||||
[ "$(ceph osd metadata 0 | jq -r '.osd_type')" == "crimson" ] || return 0
|
||||
|
||||
# Ensure can get dump_metrics full
|
||||
ceph tell osd.0 dump_metrics 2>/dev/null > /tmp/dump_metrics_full.json || true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user