From 4c98b3224ea778b4a81e09d19a2d05238e7dba6d Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 7 Jan 2020 15:58:56 +0800 Subject: [PATCH] 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 --- qa/tasks/mgr/test_orchestrator_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/mgr/test_orchestrator_cli.py b/qa/tasks/mgr/test_orchestrator_cli.py index c6b48d406d9..26efd728de5 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") -- 2.47.3