From: Jos Collin Date: Fri, 2 Jun 2023 11:09:49 +0000 (+0530) Subject: qa: fix cephfs-top tests for the new fields X-Git-Tag: testing/wip-pdonnell-testing-20240430.123648-reef-debug~146^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d4464d4df69d012d4eb2b348547da207b26277e1;p=ceph-ci.git qa: fix cephfs-top tests for the new fields Fixes: https://tracker.ceph.com/issues/61397 Signed-off-by: Jos Collin (cherry picked from commit 0241a82b4d13c8ef21ee00fa3073fd970c56fafe) --- diff --git a/qa/tasks/cephfs/test_fstop.py b/qa/tasks/cephfs/test_fstop.py index ed76eaac2cf..8294fceec92 100644 --- a/qa/tasks/cephfs/test_fstop.py +++ b/qa/tasks/cephfs/test_fstop.py @@ -66,7 +66,7 @@ class TestFSTop(CephFSTestCase): Tests 'cephfs-top --dump' output is valid """ def verify_fstop_metrics(metrics): - clients = metrics.get(self.fs.name, {}) + clients = metrics.get('filesystems').get(self.fs.name, {}) if str(self.mount_a.get_global_id()) in clients and \ str(self.mount_b.get_global_id()) in clients: return True