]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard/api: increase API health timeout 36607/head
authorErnesto Puerta <epuertat@redhat.com>
Fri, 17 Jul 2020 13:21:55 +0000 (15:21 +0200)
committerTatjana Dehler <tdehler@suse.com>
Thu, 13 Aug 2020 11:41:38 +0000 (13:41 +0200)
Fixes: https://tracker.ceph.com/issues/46601
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit cd9f680b1121d0a8cb14f260a21b0cab4dbeee0a)

Conflicts:
qa/tasks/mgr/dashboard/helper.py
A variable 'maxDiff' has been introduced in master and not been
        backported: https://github.com/ceph/ceph/pull/35768

qa/tasks/mgr/dashboard/helper.py

index 854c85096bec859f157b63a4fccf82f578421e22..854169fb61099ab70e8af0ed23d9a388f9d9c296 100644 (file)
@@ -18,6 +18,9 @@ log = logging.getLogger(__name__)
 
 
 class DashboardTestCase(MgrTestCase):
+    # Increased x3 (20 -> 60)
+    TIMEOUT_HEALTH_CLEAR = 60
+
     MGRS_REQUIRED = 2
     MDSS_REQUIRED = 1
     REQUIRE_FILESYSTEM = True
@@ -152,7 +155,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):