From: Sage Weil Date: Sun, 1 Mar 2020 17:52:36 +0000 (-0600) Subject: qa/tasksmgr/test_orchestrator_cli: fix test_service_action X-Git-Tag: v15.1.1~189^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=114ef48739189f0809f17f525b088212f81ac36a;p=ceph.git qa/tasksmgr/test_orchestrator_cli: fix test_service_action Signed-off-by: Sage Weil --- diff --git a/qa/tasks/mgr/test_orchestrator_cli.py b/qa/tasks/mgr/test_orchestrator_cli.py index 741adeba8bae1..c4e2bdc5bc1cc 100644 --- a/qa/tasks/mgr/test_orchestrator_cli.py +++ b/qa/tasks/mgr/test_orchestrator_cli.py @@ -72,14 +72,14 @@ class TestOrchestratorCli(MgrTestCase): def test_service_action(self): - self._orch_cmd("service", "restart", "mds", "cephfs") - self._orch_cmd("service", "stop", "mds", "cephfs") - self._orch_cmd("service", "start", "mds", "cephfs") + self._orch_cmd("restart", "mds.cephfs") + self._orch_cmd("stop", "mds.cephfs") + self._orch_cmd("start", "mds.cephfs") def test_service_instance_action(self): - self._orch_cmd("daemon", "restart", "mds", "a") - self._orch_cmd("daemon", "stop", "mds", "a") - self._orch_cmd("daemon", "start", "mds", "a") + self._orch_cmd("daemon", "restart", "mds.a") + self._orch_cmd("daemon", "stop", "mds.a") + self._orch_cmd("daemon", "start", "mds.a") def test_osd_create(self): self._orch_cmd("osd", "create", "*:device")