From 29de922d7e2840f653cba29de46084bc2ed80407 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 7 Jun 2018 09:24:03 +1000 Subject: [PATCH] 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: Ib1610eb9bcd493732e90a309d219690c43702400 Partial-Bug: #1712399 --- cinder/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/test.py b/cinder/test.py index c8c9e6ccd3b..5c42140f4cd 100644 --- a/cinder/test.py +++ b/cinder/test.py @@ -194,7 +194,7 @@ class TestCase(testtools.TestCase): self.addCleanup(rpc.cleanup) 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)