From bb126cf9abc81566a2f2b08c3159faa07f97770c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 5 Mar 2020 08:00:42 -0600 Subject: [PATCH] qa/tasks/mgr/test_orchestrator_cli: fix test_ps* tests The ps output names daemons like 'type.foo', e.g., 'mgr.x'. Now that the test_orchestrator impl is less bonkers this needs to be adjusted to match reality. Signed-off-by: Sage Weil --- 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 c4e2bdc5bc1..1bc615affee 100644 --- a/qa/tasks/mgr/test_orchestrator_cli.py +++ b/qa/tasks/mgr/test_orchestrator_cli.py @@ -63,12 +63,12 @@ class TestOrchestratorCli(MgrTestCase): def test_ps(self): ret = self._orch_cmd("ps") - self.assertIn("ceph-mgr", ret) + self.assertIn("mgr", ret) def test_ps_json(self): ret = self._orch_cmd("ps", "--format", "json") self.assertIsInstance(json.loads(ret), list) - self.assertIn("ceph-mgr", ret) + self.assertIn("mgr", ret) def test_service_action(self): -- 2.39.5