Merge pull request #37997 from rhcs-dashboard/48155-fix-api-test-full-health

mgr/dashboard: fix API test: test_full_health

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
This commit is contained in:
Kefu Chai 2020-11-10 17:53:50 +08:00 committed by GitHub
commit 33da4a5a05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,8 @@ class HealthTest(DashboardTestCase):
'rank': int,
'state': str,
# @TODO: What type should be expected here?
'sync_provider': JList(JAny(none=True))
'sync_provider': JList(JAny(none=True)),
'stretch_mode': bool
}),
'osd_map': JObj({
# @TODO: define schema for crush map and osd_metadata, among