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: Ic8a137794ac0805a4e5890bda9eb2740f2bf9d76 Partial-Bug: #1712399
This commit is contained in:
parent
c23f81cd76
commit
f1e8bdd5e7
@ -168,7 +168,7 @@ class BaseTestCase(testtools.TestCase):
|
||||
'oslo_messaging.Notifier', fake_notifier.FakeNotifier))
|
||||
|
||||
self.messaging_conf = messaging_conffixture.ConfFixture(CONF)
|
||||
self.messaging_conf.transport_driver = 'fake'
|
||||
self.messaging_conf.transport_url = 'fake:/'
|
||||
self.messaging_conf.response_timeout = 15
|
||||
self.useFixture(self.messaging_conf)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user