From 0241a82b4d13c8ef21ee00fa3073fd970c56fafe Mon Sep 17 00:00:00 2001 From: Jos Collin Date: Fri, 2 Jun 2023 16:39:49 +0530 Subject: [PATCH] qa: fix cephfs-top tests for the new fields Fixes: https://tracker.ceph.com/issues/61397 Signed-off-by: Jos Collin --- qa/tasks/cephfs/test_fstop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5