]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: fix cephfs-top tests for the new fields 51891/head
authorJos Collin <jcollin@redhat.com>
Fri, 2 Jun 2023 11:09:49 +0000 (16:39 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 12 Sep 2023 12:05:30 +0000 (17:35 +0530)
Fixes: https://tracker.ceph.com/issues/61397
Signed-off-by: Jos Collin <jcollin@redhat.com>
qa/tasks/cephfs/test_fstop.py

index b625c24bfe8aea1b3bebf3da8cfa33a2a692dbdb..09896703d81f91616c9fa7c63c124491a1c65dab 100644 (file)
@@ -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