OpenStack library for messaging
Go to file
Mark McLoughlin a7f01d9683 Fix slow notification listener tests
The notification listener tests have a listener endpoint that will stop
the listener thread when a certain number of messages have been
received. If this doesn't work, the main thread will time out its
join() after 5 seconds and the only way sign of this is that the test
took over 5 seconds.

Let's make stop_listener() return a boolean indicating whether the the
thread has stopped or we timed out, and assert that the thread has
stopped.

Fix a few cases where the thread hasn't stopped. In the 'two exchanges'
case, we send three messages but only two are to the exchanges we are
listening on. In the tests using the HANDLED return value, the info()
handler which stops the thread was never been called because that
endpoint was last in the endpoints list.

Change-Id: Iea2486f23cee073c3891188d7aabb22ae945900d
2014-06-27 06:56:47 +01:00
doc/source Add release notes for 1.3.0 2014-03-31 21:34:35 +01:00
etc Routing notifier 2014-01-15 04:08:18 +00:00
oslo Merge "RPC server doc: use the blocking executor" 2014-06-24 15:09:37 +00:00
oslo.messaging/locale Setup for translation 2014-06-05 22:48:44 +02:00
tests Fix slow notification listener tests 2014-06-27 06:56:47 +01:00
tools Import run_cross_tests.sh from oslo-incubator 2014-04-03 05:30:46 -07:00
.gitignore Ignore any egg and egg-info directories 2014-02-05 09:32:25 -08:00
.gitreview Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
.testr.conf Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
CONTRIBUTING.rst Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
LICENSE Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
MANIFEST.in Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
README.rst Add a link to the docs from the README 2014-02-19 14:07:58 -06:00
babel.cfg Setup for translation 2014-06-05 22:48:44 +02:00
openstack-common.conf Remove dependent module py3kcompat 2014-04-25 20:31:11 +08:00
requirements.txt Updated from global requirements 2014-06-18 16:11:34 +00:00
setup.cfg Setup for translation 2014-06-05 22:48:44 +02:00
setup.py Updated from global requirements 2014-04-30 02:45:47 +00:00
test-requirements.txt Updated from global requirements 2014-06-18 16:11:34 +00:00
tox.ini Bump hacking to 0.9.x series 2014-06-12 09:53:40 -04:00

README.rst

Oslo Messaging Library

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.

See also: Library Documentation