From 5f649cff4261f32e700eac3996eef5939f9045e3 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 3 Dec 2019 12:14:47 -0600 Subject: [PATCH] mgr/ssh/tests: fix RGWSpec test Signed-off-by: Sage Weil --- src/pybind/mgr/ssh/tests/test_ssh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/ssh/tests/test_ssh.py b/src/pybind/mgr/ssh/tests/test_ssh.py index 878788f7801..af3e6ef5771 100644 --- a/src/pybind/mgr/ssh/tests/test_ssh.py +++ b/src/pybind/mgr/ssh/tests/test_ssh.py @@ -128,9 +128,9 @@ class TestSSH(object): def test_rgw(self, _send_command, _get_connection, ssh_module): with self._with_host(ssh_module, 'test'): ps = PlacementSpec(nodes=['test']) - c = ssh_module.add_rgw(RGWSpec('name', ps)) + c = ssh_module.add_rgw(RGWSpec('realm', 'zone', ps)) [out] = self._wait(ssh_module, c) - assert "(Re)deployed rgw.name." in out + assert "(Re)deployed rgw.realm.zone." in out assert " on host 'test'" in out @mock.patch("ssh.module.SSHOrchestrator._run_ceph_daemon", _run_ceph_daemon( -- 2.39.5