]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: Update the mdsmap schema in mgr/dashboard/test_health.py 39660/head
authorJos Collin <jcollin@redhat.com>
Fri, 9 Apr 2021 06:38:33 +0000 (12:08 +0530)
committerJos Collin <jcollin@redhat.com>
Fri, 9 Apr 2021 12:04:19 +0000 (17:34 +0530)
Fixed the error:
tasks.mgr.dashboard.helper._ValError: In `input['fs_map']['filesystems'][0]['mdsmap']`: unknown keys: {'flags_state'}
Traceback (most recent call last):
File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/mgr/dashboard/test_health.py", line 273, in test_full_health
self.assertSchema(data, schema)

Fixes: https://tracker.ceph.com/issues/48683
Signed-off-by: Jos Collin <jcollin@redhat.com>
qa/tasks/mgr/dashboard/test_health.py

index 7efd7b80db40debd29cd8165b48717c3b0375d54..11ffd790ac20c1ec68706cb98dbaf54ac5bcc891 100644 (file)
@@ -51,6 +51,12 @@ class HealthTest(DashboardTestCase):
         'modified': str,
         'session_timeout': int,
         'flags': int,
+        'flags_state': JObj({
+            'joinable': bool,
+            'allow_snaps': bool,
+            'allow_multimds_snaps': bool,
+            'allow_standby_replay': bool
+        }),
         'ever_allowed_features': int,
         'root': int
     })