From: Kefu Chai Date: Tue, 7 Jan 2020 07:58:56 +0000 (+0800) Subject: qa/tasks/mgr/test_orchestrator_cli: fix service action tests X-Git-Tag: v15.1.0~312^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F32518%2Fhead;p=ceph.git qa/tasks/mgr/test_orchestrator_cli: fix service action tests in b77f0c74a5213ee57de19d21c930b2f3c872a1c4, "reload" service[-instance] action was dropped. so replace "reload" with "restart" in the related tests. Signed-off-by: Kefu Chai --- diff --git a/qa/tasks/mgr/test_orchestrator_cli.py b/qa/tasks/mgr/test_orchestrator_cli.py index c6b48d406d9d..26efd728de5e 100644 --- a/qa/tasks/mgr/test_orchestrator_cli.py +++ b/qa/tasks/mgr/test_orchestrator_cli.py @@ -72,12 +72,12 @@ class TestOrchestratorCli(MgrTestCase): def test_service_action(self): - self._orch_cmd("service", "reload", "mds", "cephfs") + self._orch_cmd("service", "restart", "mds", "cephfs") self._orch_cmd("service", "stop", "mds", "cephfs") self._orch_cmd("service", "start", "mds", "cephfs") def test_service_instance_action(self): - self._orch_cmd("service-instance", "reload", "mds", "a") + self._orch_cmd("service-instance", "restart", "mds", "a") self._orch_cmd("service-instance", "stop", "mds", "a") self._orch_cmd("service-instance", "start", "mds", "a")