]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/ssh/tests: fix RGWSpec test
authorSage Weil <sage@redhat.com>
Tue, 3 Dec 2019 18:14:47 +0000 (12:14 -0600)
committerSage Weil <sage@redhat.com>
Tue, 3 Dec 2019 18:14:47 +0000 (12:14 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/ssh/tests/test_ssh.py

index 878788f780120624fdbdaead5e6f431897d6195b..af3e6ef5771ca35016f60c9ebd8ab1a8b2187b68 100644 (file)
@@ -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(