summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-01-31 12:58:22 -0500
committerRussell Bryant <rbryant@redhat.com>2012-01-31 13:00:28 -0500
commit1849c274eef7316ea9bdcd2e2ca4788ba2d699ec (patch)
treebb9056aa9fac9177990e0b7bdbd4cda200c5dd5a /nova
parentbd32abf9bc9d628f6fed510c223689de9aa8b76d (diff)
downloadnova-1849c274eef7316ea9bdcd2e2ca4788ba2d699ec.tar.gz
nova-1849c274eef7316ea9bdcd2e2ca4788ba2d699ec.tar.xz
nova-1849c274eef7316ea9bdcd2e2ca4788ba2d699ec.zip
Empty connection pool after test_kombu.
Empty the connection pool after the tests in test_kombu have run. This ensures that there is nothing leftover that will affect tests of other implementations that use nova.rpc.amqp (impl_qpid right now). Change-Id: Ib023722f97a21821869369d0024cf61272267ea3
Diffstat (limited to 'nova')
-rw-r--r--nova/tests/rpc/test_kombu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/tests/rpc/test_kombu.py b/nova/tests/rpc/test_kombu.py
index 255de275e..b2fe465fa 100644
--- a/nova/tests/rpc/test_kombu.py
+++ b/nova/tests/rpc/test_kombu.py
@@ -51,6 +51,7 @@ class RpcKombuTestCase(common._BaseRpcTestCase):
super(RpcKombuTestCase, self).setUp()
def tearDown(self):
+ impl_kombu.cleanup()
super(RpcKombuTestCase, self).tearDown()
def test_reusing_connection(self):