From 5399337d65f9b536685d66ddc6a360e366d0756a Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 23 Sep 2019 23:25:13 +0800 Subject: [PATCH] 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 --- qa/tasks/mgr/dashboard/test_health.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/mgr/dashboard/test_health.py b/qa/tasks/mgr/dashboard/test_health.py index ff305ae985f65..5e402d49c7fc5 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)), -- 2.39.5