]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard/api: increase API health timeout 36157/head
authorErnesto Puerta <epuertat@redhat.com>
Fri, 17 Jul 2020 13:21:55 +0000 (15:21 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Fri, 17 Jul 2020 13:21:55 +0000 (15:21 +0200)
Fixes: https://tracker.ceph.com/issues/46601
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
qa/tasks/mgr/dashboard/helper.py

index 44f919b11190eb17b559ed60a7ba7f83108fca54..1a7a6951c97bec73f3d3aee28ea26589b79a0efb 100644 (file)
@@ -21,6 +21,9 @@ class DashboardTestCase(MgrTestCase):
     # Display full error diffs
     maxDiff = None
 
+    # Increased x3 (20 -> 60)
+    TIMEOUT_HEALTH_CLEAR = 60
+
     MGRS_REQUIRED = 2
     MDSS_REQUIRED = 1
     REQUIRE_FILESYSTEM = True
@@ -186,7 +189,7 @@ class DashboardTestCase(MgrTestCase):
         super(DashboardTestCase, self).setUp()
         if not self._loggedin and self.AUTO_AUTHENTICATE:
             self.login('admin', 'admin')
-        self.wait_for_health_clear(20)
+        self.wait_for_health_clear(self.TIMEOUT_HEALTH_CLEAR)
 
     @classmethod
     def tearDownClass(cls):