$ nosetests tests/unit/rpc/test_qpid.py
test_call (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ok
test_cast (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ok
test_cast_to_server (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ERROR
test_create_connection (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ok
test_create_consumer (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ok
test_create_consumer_fanout (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ok
test_create_worker (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ok
test_fanout_cast (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ok
test_fanout_cast_to_server (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ERROR
test_multicall (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ok
test_topic_consumer (tests.unit.rpc.test_qpid.RpcQpidTestCase) ... ok
======================================================================
ERROR: test_cast_to_server (tests.unit.rpc.test_qpid.RpcQpidTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/rbryant/src/openstack/oslo-incubator/openstack/common/testutils.py", line 51, in _skipper
func(*args, **kw)
File "/home/rbryant/src/openstack/oslo-incubator/tests/unit/rpc/test_qpid.py", line 306, in test_cast_to_server
self._test_cast(fanout=False, server_params=server_params)
File "/home/rbryant/src/openstack/oslo-incubator/tests/unit/rpc/test_qpid.py", line 269, in _test_cast
method(*args)
File "/home/rbryant/src/openstack/oslo-incubator/openstack/common/rpc/impl_qpid.py", line 568, in cast_to_server
rpc_amqp.get_connection_pool(conf, Connection))
File "/home/rbryant/src/openstack/oslo-incubator/openstack/common/rpc/amqp.py", line 395, in cast_to_server
server_params=server_params) as conn:
File "/home/rbryant/src/openstack/oslo-incubator/openstack/common/rpc/amqp.py", line 99, in __init__
server_params=server_params)
File "/home/rbryant/src/openstack/oslo-incubator/tests/unit/rpc/test_qpid.py", line 292, in __init__
self.assertEqual(myself.broker,
AttributeError: 'MyConnection' object has no attribute 'broker'
-------------------- >> begin captured logging << --------------------
openstack.common.rpc.impl_qpid: INFO: Connected to AMQP server on localhost:5672
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_fanout_cast_to_server (tests.unit.rpc.test_qpid.RpcQpidTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/rbryant/src/openstack/oslo-incubator/openstack/common/testutils.py", line 51, in _skipper
func(*args, **kw)
File "/home/rbryant/src/openstack/oslo-incubator/tests/unit/rpc/test_qpid.py", line 315, in test_fanout_cast_to_server
self._test_cast(fanout=True, server_params=server_params)
File "/home/rbryant/src/openstack/oslo-incubator/tests/unit/rpc/test_qpid.py", line 269, in _test_cast
method(*args)
File "/home/rbryant/src/openstack/oslo-incubator/openstack/common/rpc/impl_qpid.py", line 575, in fanout_cast_to_server
rpc_amqp.get_connection_pool(conf, Connection))
File "/home/rbryant/src/openstack/oslo-incubator/openstack/common/rpc/amqp.py", line 404, in fanout_cast_to_server
server_params=server_params) as conn:
File "/home/rbryant/src/openstack/oslo-incubator/openstack/common/rpc/amqp.py", line 99, in __init__
server_params=server_params)
File "/home/rbryant/src/openstack/oslo-incubator/tests/unit/rpc/test_qpid.py", line 292, in __init__
self.assertEqual(myself.broker,
AttributeError: 'MyConnection' object has no attribute 'broker'
-------------------- >> begin captured logging << --------------------
openstack.common.rpc.impl_qpid: INFO: Connected to AMQP server on localhost:5672
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 11 tests in 0.014s
FAILED (errors=2)
https:/ /review. openstack. org/17541