summaryrefslogtreecommitdiff
path: root/nova/tests/conf_fixture.py
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2013-08-13 11:28:40 +0100
committerMark McLoughlin <markmc@redhat.com>2013-08-21 11:35:08 +0100
commit216fcb90e86f18588e4e84f618940c4a4e11d1f7 (patch)
treeddbdf22b8dee1dee6d3f45b351f87dbd469b3111 /nova/tests/conf_fixture.py
parent54221159243398bcffedd4e76e333d5bf7771dc9 (diff)
downloadnova-216fcb90e86f18588e4e84f618940c4a4e11d1f7.tar.gz
Remove use of fake_rabbit in Nova
The fake_rabbit config option enables the memory transport for kombu. We use the fake RPC backend for all of our unit testing. As best I can tell, fake_rabbit harks back to a time when it was used for unit testing. The code in nova-dhcpbridge is the only place we explicitly do anything different for this case - i.e. we directly call out to the network manager to manage the IP address leases. When we move to oslo.messaging, we can't rely on this config option because it could be renamed in future. It's hard to imagine a more generic "is the transport going to actually send a message to a remote server" API in oslo.messaging. I don't think anyone uses fake_rabbit anymore. I just don't see how it can be useful to anyone. We should just remove it rather than putting in a bunch of work to retain it with oslo.messaging. blueprint: oslo-messaging Change-Id: I3a8f8a9d3cb6cc6f431d48b4222bde31da767559
Diffstat (limited to 'nova/tests/conf_fixture.py')
-rw-r--r--nova/tests/conf_fixture.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/tests/conf_fixture.py b/nova/tests/conf_fixture.py
index cdce08931e..f8e6dda5a7 100644
--- a/nova/tests/conf_fixture.py
+++ b/nova/tests/conf_fixture.py
@@ -52,7 +52,6 @@ class ConfFixture(fixtures.Fixture):
self.conf.set_default('host', 'fake-mini')
self.conf.set_default('compute_driver', 'nova.virt.fake.FakeDriver')
self.conf.set_default('fake_network', True)
- self.conf.set_default('fake_rabbit', True)
self.conf.set_default('flat_network_bridge', 'br100')
self.conf.set_default('floating_ip_dns_manager',
'nova.tests.utils.dns_manager')