qa/tasks/mgr/test_orchestrator_cli: fix service action tests

in b77f0c74a5, "reload"
service[-instance] action was dropped. so replace "reload" with
"restart" in the related tests.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2020-01-07 15:58:56 +08:00
parent 53066d09ab
commit 4c98b3224e

View File

@ -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")