]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/mgr/test_orchestrator_cli: fix test_ps* tests 33531/head
authorSage Weil <sage@redhat.com>
Thu, 5 Mar 2020 14:00:42 +0000 (08:00 -0600)
committerSage Weil <sage@redhat.com>
Thu, 5 Mar 2020 14:00:42 +0000 (08:00 -0600)
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 <sage@redhat.com>
qa/tasks/mgr/test_orchestrator_cli.py

index c4e2bdc5bc1cc1babaac13085b721d244a41af97..1bc615affeef4bffb57cadb5edbc73487cc031eb 100644 (file)
@@ -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):