summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorgord chung <gord@live.ca>2016-12-09 18:31:06 +0000
committergordon chung <gord@live.ca>2017-02-10 13:21:22 +0000
commit5bacea1f42f7f5dc822b5f4f5968a3d8d3361b59 (patch)
tree3b8400ebb5f0e6302896bc844de8e91d99f04341 /tox.ini
parentf3cc165dba2cabf44cf4759c18a7b65ca3e4a260 (diff)
downloadoslo-messaging-5bacea1f42f7f5dc822b5f4f5968a3d8d3361b59.tar.gz
support kombu4
- kombu4 wraps recoverable errors as OperationalErrors rather than raising amqp errors - also, raise a recoverable error and redeclare if for some reason a message is double acknowledged... previously, this was hidden. - ensure socket is not none - use connect method to ensure connection Depends-On: I9f980b51901ac31599b9651633956ad2eea6a1ac Change-Id: I73958c8057353a2eefe1baaa7a41148193d507f7
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index beab5fa..5b0365d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,12 +32,16 @@ commands = python setup.py build_sphinx
setenv =
{[testenv]setenv}
TRANSPORT_DRIVER=rabbit
+ amqp>=2.0.0
+ kombu>=4.0.0
commands = pifpaf run rabbitmq -- python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'
[testenv:py35-func-rabbit]
setenv =
{[testenv]setenv}
TRANSPORT_DRIVER=rabbit
+ amqp>=2.0.0
+ kombu>=4.0.0
basepython = python3.5
commands = pifpaf run rabbitmq -- python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'