]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: fix API test: test_full_health
authorAlfonso Martínez <almartin@redhat.com>
Tue, 10 Nov 2020 08:29:45 +0000 (09:29 +0100)
committerAlfonso Martínez <almartin@redhat.com>
Tue, 10 Nov 2020 08:29:45 +0000 (09:29 +0100)
Fixes: https://tracker.ceph.com/issues/48155
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
qa/tasks/mgr/dashboard/test_health.py

index 9787ea45ff9e436fa0a11e5a9dbd644148c5e5cb..7efd7b80db40debd29cd8165b48717c3b0375d54 100644 (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