]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Use lockutils module for tox functional env
authorMaru Newby <marun@redhat.com>
Thu, 28 Aug 2014 09:17:45 +0000 (11:17 +0200)
committerMaru Newby <marun@redhat.com>
Thu, 28 Aug 2014 09:20:02 +0000 (11:20 +0200)
A previous change (I4d6076e5f7586a11ea5381f18774d4bab57b0081) added
lockutils to only the dsvm-functional tox env.  It also needs to be
added to the functional tox env.

Change-Id: I3a799692b2162b738a2b080e08602b403c171e4f
Closes-Bug: 1332380

tox.ini

diff --git a/tox.ini b/tox.ini
index a2f8806cbfbcf3d5a5fdcc5cb6946be84d4c4f0f..d8c6bbe15beb813b4cb2eda04e5fc1bf78069a3b 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -24,7 +24,7 @@ setenv = VIRTUAL_ENV={envdir}
 [testenv:functional]
 setenv = OS_TEST_PATH=./neutron/tests/functional
 commands =
-  python setup.py testr --slowest --testr-args='{posargs}'
+  python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='{posargs}'
 
 [testenv:dsvm-functional]
 setenv = OS_TEST_PATH=./neutron/tests/functional