]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/tasks/mgr/test_orchestrator_cli: fix service action tests
authorKefu Chai <kchai@redhat.com>
Tue, 7 Jan 2020 07:58:56 +0000 (15:58 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 7 Jan 2020 08:00:04 +0000 (16:00 +0800)
in b77f0c74a5213ee57de19d21c930b2f3c872a1c4, "reload"
service[-instance] action was dropped. so replace "reload" with
"restart" in the related tests.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/tasks/mgr/test_orchestrator_cli.py

index c6b48d406d9d041e4d94c59c651055cd1e3fb965..26efd728de5e838a0ae69f9a95fe1e55112336ff 100644 (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")