Switch to oslo_messaging.ConfFixture.transport_url
oslo_messaging's rpc_backend setting, which is set by ConfFixture.transport_driver has been deprecated since Newton. To allow oslo_messaging to remove it, switch to setting transport_url instead. Change-Id: Ib8839df1ae7e69bd751834903adcb96395154bf6 Partial-Bug: #1712399
This commit is contained in:
parent
f65cabd089
commit
c436b10e56
@ -263,7 +263,7 @@ class RPCFixture(fixtures.Fixture):
|
|||||||
'oslo_messaging.Notifier', fake_notifier.FakeNotifier))
|
'oslo_messaging.Notifier', fake_notifier.FakeNotifier))
|
||||||
|
|
||||||
self.messaging_conf = conffixture.ConfFixture(CONF)
|
self.messaging_conf = conffixture.ConfFixture(CONF)
|
||||||
self.messaging_conf.transport_driver = 'fake'
|
self.messaging_conf.transport_url = 'fake:/'
|
||||||
# NOTE(russellb) We want all calls to return immediately.
|
# NOTE(russellb) We want all calls to return immediately.
|
||||||
self.messaging_conf.response_timeout = 0
|
self.messaging_conf.response_timeout = 0
|
||||||
self.useFixture(self.messaging_conf)
|
self.useFixture(self.messaging_conf)
|
||||||
|
Loading…
Reference in New Issue
Block a user