diff options
author | Ben Nemec <bnemec@redhat.com> | 2014-10-03 23:22:36 +0000 |
---|---|---|
committer | Ben Nemec <bnemec@redhat.com> | 2014-10-03 23:27:36 +0000 |
commit | 8483811889baa2c9f839c1ccbf74d2c14174bd67 (patch) | |
tree | 55c245b117812abd662d54216211db8c8ed9a4a2 /tox.ini | |
parent | ad4e21c83a87d598af953550aee2069407702a37 (diff) | |
download | oslo-concurrency-8483811889baa2c9f839c1ccbf74d2c14174bd67.tar.gz |
Test with both vanilla and eventlet stdlib
We intend this project's code to function both with and without
eventlet monkey patching, so we should test that way too. This adds
a separate test run that explicitly enables eventlet and removes
the racy monkey patching that existed before.
I left the eventlet-specific unit test because it's making direct
calls into eventlet, so it is a somewhat different case from
implicitly using monkey patched classes and I'd rather leave a
redundant test than remove it and find out it covered something
the others don't.
Change-Id: Idbe9cdd90e9ce5e38b03ec1c20066928daa9ef00
Closes-Bug: 1367966
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,8 +14,10 @@ setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +# We want to support both vanilla stdlib and eventlet monkey patched commands = lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}' + env TEST_EVENTLET=1 lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}' [testenv:py33] deps = -r{toxinidir}/requirements-py3.txt |