From: Ernesto Puerta Date: Fri, 17 Jul 2020 13:21:55 +0000 (+0200) Subject: mgr/dashboard/api: increase API health timeout X-Git-Tag: v14.2.12~109^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=be23a368244cddcec55e18f12ac019c6237647d0;p=ceph.git mgr/dashboard/api: increase API health timeout Fixes: https://tracker.ceph.com/issues/46601 Signed-off-by: Ernesto Puerta (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 --- diff --git a/qa/tasks/mgr/dashboard/helper.py b/qa/tasks/mgr/dashboard/helper.py index 854c85096bec..854169fb6109 100644 --- a/qa/tasks/mgr/dashboard/helper.py +++ b/qa/tasks/mgr/dashboard/helper.py @@ -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):