mgr/dashboard: updated health API test

Updated test_full_health to reflect changes in
mgr_map / mon_status payloads.

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
This commit is contained in:
alfonsomthd 2019-01-07 12:49:25 +01:00
parent fa24a0312f
commit dcf46cfe94

View File

@ -176,6 +176,7 @@ class HealthTest(DashboardTestCase):
'hosts': int,
'iscsi_daemons': int,
'mgr_map': JObj({
'active_addr': str,
'active_addrs': JObj({
'addrvec': JList(JObj({
'addr': str,
@ -227,7 +228,7 @@ class HealthTest(DashboardTestCase):
'name': str,
'outside_quorum': JList(int),
'quorum': JList(int),
'quorum_age': str,
'quorum_age': int,
'rank': int,
'state': str,
# TODO: What type should be expected here?