From 1849c274eef7316ea9bdcd2e2ca4788ba2d699ec Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 31 Jan 2012 12:58:22 -0500 Subject: 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 --- nova/tests/rpc/test_kombu.py | 1 + 1 file changed, 1 insertion(+) 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): -- cgit