930f5891b0
When trying to test a bug the cinder test framework was running all the tests when I just wanted one to run. Instead of fixing this problem in nose I tried to move cinder to testr. I copied a fair bit of code from nova to get this to work. This way at least if some one makes an improvement to the nova test framework cinder can improve here also. Note that now all the tests a thread safe. Added a concurrency argument to run_tests.sh that defaults to 1. You can specify your own level then and take the risk of intermittent failures. Tell jenkins to use a concurrency level of 1 to avoid failing gate jobs. Note One of these tests is broken and I have disabled for now. There is a bug for this here: https://bugs.launchpad.net/cinder/+bug/1173266 Note: cinder.api.openstack.FaultWrapper is deprecated and is causing a circular import when I try and import cinder.tests.test_wsgi. This is fixed by only importing the openstack.FaultWrapper during the __init__ phase of the wsgi middleware. Fixes: bug 1183434 Fixes: bug 1177924 Change-Id: I5e10b55c5b236eb81a6a3e0e9ea56af8ca4ef8e1
19 lines
299 B
Plaintext
19 lines
299 B
Plaintext
# Install bounded pep8/pyflakes first, then let flake8 install
|
|
pep8==1.4.5
|
|
pyflakes==0.7.2
|
|
flake8==2.0
|
|
hacking>=0.5.3,<0.6
|
|
|
|
coverage>=3.6
|
|
discover
|
|
fixtures>=0.3.12
|
|
hp3parclient>=1.0.0
|
|
mock>=0.8.0
|
|
mox>=0.5.3
|
|
mysql-python
|
|
psycopg2
|
|
sphinx>=1.1.2
|
|
python-subunit
|
|
testtools>=0.9.29
|
|
testrepository>=0.0.13
|