From cd9f680b1121d0a8cb14f260a21b0cab4dbeee0a 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 --- 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 44f919b11190e..1a7a6951c97be 100644 --- a/qa/tasks/mgr/dashboard/helper.py +++ b/qa/tasks/mgr/dashboard/helper.py @@ -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): -- 2.39.5