Merge "Use the neutron user on the message queue"

This commit is contained in:
Zuul 2018-05-28 06:20:44 +00:00 committed by Gerrit Code Review
commit 3592e44ce5
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ def setup_amqp_req(amqp):
"""Use the amqp interface to request access to the amqp broker using our
local configuration.
"""
amqp.request_access(username='dragent',
amqp.request_access(username='neutron',
vhost='openstack')
dragent.assess_status()

View File

@ -150,7 +150,7 @@ class TestDRAgentHandlers(unittest.TestCase):
amqp = mock.MagicMock()
handlers.setup_amqp_req(amqp)
amqp.request_access.assert_called_once_with(
username='dragent', vhost='openstack')
username='neutron', vhost='openstack')
def test_render_configs(self):
self.patch(handlers.dragent, 'render_configs')