]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: updated health API test 25813/head
authoralfonsomthd <almartin@redhat.com>
Mon, 7 Jan 2019 11:49:25 +0000 (12:49 +0100)
committeralfonsomthd <almartin@redhat.com>
Mon, 7 Jan 2019 11:49:25 +0000 (12:49 +0100)
Updated test_full_health to reflect changes in
mgr_map / mon_status payloads.

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
qa/tasks/mgr/dashboard/test_health.py

index cb8f7b9bf8df13c237a5ea4e9b308cb2ded7f8a5..d750859eb80611e5cded910648592a9301e5f6a6 100644 (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?