From be23a368244cddcec55e18f12ac019c6237647d0 Mon Sep 17 00:00:00 2001 From: Ernesto Puerta Date: Fri, 17 Jul 2020 15:21:55 +0200 Subject: [PATCH] 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 --- qa/tasks/mgr/dashboard/helper.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qa/tasks/mgr/dashboard/helper.py b/qa/tasks/mgr/dashboard/helper.py index 854c85096bec8..854169fb61099 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): -- 2.39.5