diff options
author | Angus Lees <gus@inodes.org> | 2014-07-02 18:23:19 +1000 |
---|---|---|
committer | Angus Lees <gus@inodes.org> | 2015-07-16 20:20:45 +1000 |
commit | 112aa3dd00551c832d8e74d021ad5f06d39af4b9 (patch) | |
tree | 255125d1c1c328bf08e6d8f05410eee52f42633b /test-requirements.txt | |
parent | 9b79858453e6062768704bc28dfd6761d21555d0 (diff) | |
download | oslo-db-112aa3dd00551c832d8e74d021ad5f06d39af4b9.tar.gz |
Test that concurrent sqlalchemy transactions don't block
Neutron (and presumably other projects) expect to be able to have
overlapping transactions open from two eventlets at once, without
deadlock.
Note that the default mysql sqlalchemy engine (mysqldb) fails this test.
This change modifies py27 tox env to run the full test suite separately
with and without TEST_EVENTLET environment variable set. When set,
tests are run with eventlet imported and monkey_patched.
Change-Id: Ib35c95defea8ace5b456af28801659f2ba67eb96
Related-Bug: #1350149
Diffstat (limited to 'test-requirements.txt')
-rw-r--r-- | test-requirements.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 210c817..974fde4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,6 +7,7 @@ hacking<0.11,>=0.10.0 coverage>=3.6 discover doc8 # Apache-2.0 +eventlet>=0.17.4 fixtures>=1.3.1 PyMySQL>=0.6.2 # MIT License psycopg2 |