From: Paul Cuzner Date: Wed, 29 Jul 2020 21:02:04 +0000 (+1200) Subject: mgr/cephadm: add qa tests for daemon restart X-Git-Tag: wip-pdonnell-testing-20200918.022351~499^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5ff0a1d2daa7d36c9c3284523269c4a1a7daa437;p=ceph-ci.git mgr/cephadm: add qa tests for daemon restart Added tests to cove daemon stop/start and restart Signed-off-by: Paul Cuzner --- diff --git a/qa/tasks/cephadm_cases/test_cli.py b/qa/tasks/cephadm_cases/test_cli.py index 3d39902a09b..f6a7521b6f6 100644 --- a/qa/tasks/cephadm_cases/test_cli.py +++ b/qa/tasks/cephadm_cases/test_cli.py @@ -43,3 +43,10 @@ class TestCephadmCLI(MgrTestCase): self.wait_for_health('CEPHADM_PAUSED', 30) self._orch_cmd('resume') self.wait_for_health_clear(30) + + def test_daemon_restart(self): + self._orch_cmd('daemon', 'stop', 'osd.0') + self.wait_for_health('OSD_DOWN', 30) + self._orch_cmd('daemon', 'start', 'osd.0') + self.wait_for_health_clear(30) + self._orch_cmd('daemon', 'restart', 'osd.0')