]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasksmgr/test_orchestrator_cli: fix test_service_action
authorSage Weil <sage@redhat.com>
Sun, 1 Mar 2020 17:52:36 +0000 (11:52 -0600)
committerSage Weil <sage@redhat.com>
Sun, 1 Mar 2020 18:24:04 +0000 (12:24 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/mgr/test_orchestrator_cli.py

index 741adeba8bae1439a14b779b75bdfd5a22cd8b58..c4e2bdc5bc1cc1babaac13085b721d244a41af97 100644 (file)
@@ -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")