mirror of
https://github.com/ceph/ceph
synced 2025-01-29 14:34:40 +00:00
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:
parent
fa24a0312f
commit
dcf46cfe94
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user