summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2013-07-11 05:43:29 +0000
committerGerrit Code Review <review@openstack.org>2013-07-11 05:43:29 +0000
commitf9f1b4f971f209feebb3bc6d32c397f4daa8ff1e (patch)
tree5b97f5b32d5546e5350ad6cdaf1140f380503aee /tests/unit
parentc37f6aaab3ac00b7865dee18158114433350237e (diff)
Revert "Add support for heartbeating in the kombu RPC driver"
Fixes bug #1200069 Looks like there's a serious issue with the kombu heartbeat implementation. This reverts commit c37f6aaab3ac00b7865dee18158114433350237e
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/rpc/test_kombu.py21
1 files changed, 7 insertions, 14 deletions
diff --git a/tests/unit/rpc/test_kombu.py b/tests/unit/rpc/test_kombu.py
index 470f98a..c8c3f32 100644
--- a/tests/unit/rpc/test_kombu.py
+++ b/tests/unit/rpc/test_kombu.py
@@ -362,8 +362,7 @@ class RpcKombuTestCase(amqp.BaseRpcAMQPTestCase):
'password': FLAGS.rabbit_password,
'port': FLAGS.rabbit_port,
'virtual_host': FLAGS.rabbit_virtual_host,
- 'transport': 'memory',
- 'heartbeat': FLAGS.rabbit_heartbeat}])
+ 'transport': 'memory'}])
def topic_send(_context, topic, msg):
pass
@@ -383,8 +382,7 @@ class RpcKombuTestCase(amqp.BaseRpcAMQPTestCase):
'password': 'fake_password',
'hostname': 'fake_hostname',
'port': 31337,
- 'virtual_host': 'fake_virtual_host',
- 'heartbeat': FLAGS.rabbit_heartbeat}
+ 'virtual_host': 'fake_virtual_host'}
class MyConnection(impl_kombu.Connection):
def __init__(myself, *args, **kwargs):
@@ -396,8 +394,7 @@ class RpcKombuTestCase(amqp.BaseRpcAMQPTestCase):
'password': server_params['password'],
'port': server_params['port'],
'virtual_host': server_params['virtual_host'],
- 'transport': 'memory',
- 'heartbeat': FLAGS.rabbit_heartbeat}])
+ 'transport': 'memory'}])
def topic_send(_context, topic, msg):
pass
@@ -739,29 +736,25 @@ class RpcKombuHATestCase(utils.BaseTestCase):
'password': FLAGS.rabbit_password,
'port': 1234,
'virtual_host': FLAGS.rabbit_virtual_host,
- 'transport': 'memory',
- 'heartbeat': FLAGS.rabbit_heartbeat},
+ 'transport': 'memory'},
{'hostname': 'host2',
'userid': FLAGS.rabbit_userid,
'password': FLAGS.rabbit_password,
'port': 5678,
'virtual_host': FLAGS.rabbit_virtual_host,
- 'transport': 'memory',
- 'heartbeat': FLAGS.rabbit_heartbeat},
+ 'transport': 'memory'},
{'hostname': '::1',
'userid': FLAGS.rabbit_userid,
'password': FLAGS.rabbit_password,
'port': 2345,
'virtual_host': FLAGS.rabbit_virtual_host,
- 'transport': 'memory',
- 'heartbeat': FLAGS.rabbit_heartbeat},
+ 'transport': 'memory'},
{'hostname': '2001:0db8:85a3:0042:0000:8a2e:0370:7334',
'userid': FLAGS.rabbit_userid,
'password': FLAGS.rabbit_password,
'port': 5672,
'virtual_host': FLAGS.rabbit_virtual_host,
- 'transport': 'memory',
- 'heartbeat': FLAGS.rabbit_heartbeat},
+ 'transport': 'memory'},
]
}