From: Patrick Nawracay Date: Mon, 17 Sep 2018 07:25:34 +0000 (+0200) Subject: mgr/dashboard: Fix for some dashboard timing issues X-Git-Tag: v14.0.1~209^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8daffe86a693531d7526762ab30838bba86d6e22;p=ceph.git mgr/dashboard: Fix for some dashboard timing issues Specifically fixes the recurringly occurring `test_osd.py` error on the `test_scrub` method. But this change should also prevent other issues of the same kind. Issues of "same kind" are issues which occurr due to tests which do not immediately result in a clean cluster status and aren't manually programmed to wait for it. Fixes: http://tracker.ceph.com/issues/36107 Signed-off-by: Patrick Nawracay --- diff --git a/qa/tasks/mgr/dashboard/helper.py b/qa/tasks/mgr/dashboard/helper.py index af536288c0298..025665be4f4c9 100644 --- a/qa/tasks/mgr/dashboard/helper.py +++ b/qa/tasks/mgr/dashboard/helper.py @@ -144,6 +144,7 @@ class DashboardTestCase(MgrTestCase): def setUp(self): if not self._loggedin and self.AUTO_AUTHENTICATE: self.login('admin', 'admin') + self.wait_for_health_clear(20) @classmethod def tearDownClass(cls):