From: Kefu Chai Date: Mon, 23 Sep 2019 15:25:13 +0000 (+0800) Subject: qa/tasks/mgr/dashboard/test_health: add "allow_unknown" in mgr_map X-Git-Tag: v15.1.0~1403^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5399337d65f9b536685d66ddc6a360e366d0756a;p=ceph-ci.git qa/tasks/mgr/dashboard/test_health: add "allow_unknown" in mgr_map tests/functionalities are not broken if we add more fields to mgr_map. see also #30507 Signed-off-by: Kefu Chai --- diff --git a/qa/tasks/mgr/dashboard/test_health.py b/qa/tasks/mgr/dashboard/test_health.py index ff305ae985f..5e402d49c7f 100644 --- a/qa/tasks/mgr/dashboard/test_health.py +++ b/qa/tasks/mgr/dashboard/test_health.py @@ -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)),