]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/tasks/mgr/dashboard/test_health: add "allow_unknown" in mgr_map
authorKefu Chai <kchai@redhat.com>
Mon, 23 Sep 2019 15:25:13 +0000 (23:25 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 23 Sep 2019 15:25:16 +0000 (23:25 +0800)
tests/functionalities are not broken if we add more fields to mgr_map.

see also #30507

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/tasks/mgr/dashboard/test_health.py

index ff305ae985f65f1b5e64b124e370c37525c9cf54..5e402d49c7fc5ab7c426eb8b9ade2accf79a2030 100644 (file)
@@ -227,8 +227,8 @@ class HealthTest(DashboardTestCase):
                     'gid': int,
                     'name': str,
                     'mgr_features': int
-                }))
-            }),
+                }, allow_unknown=True))
+            }, allow_unknown=True),
             'mon_status': JObj({
                 'election_epoch': int,
                 'extra_probe_peers': JList(JAny(none=True)),