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: v17.2.7~49^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1609771947f74147e2a72f409b0953e01d501897;p=ceph.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 ed76eaac2cfb4..8294fceec926b 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