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: v19.0.0~484^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0241a82b4d13c8ef21ee00fa3073fd970c56fafe;p=ceph.git qa: fix cephfs-top tests for the new fields Fixes: https://tracker.ceph.com/issues/61397 Signed-off-by: Jos Collin --- diff --git a/qa/tasks/cephfs/test_fstop.py b/qa/tasks/cephfs/test_fstop.py index b625c24bfe8ae..09896703d81f9 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