]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Use openstack.common.lockutils module for locks in tox functional tests.
authorRui Zang <rui.zang@intel.com>
Fri, 20 Jun 2014 14:08:12 +0000 (22:08 +0800)
committerRui Zang <rui.zang@intel.com>
Fri, 20 Jun 2014 14:14:05 +0000 (22:14 +0800)
Tox test has been switched to use openstack.common.lockutils module
for interprocess locks. However neutron tox functional tests was
left behind probably because locking is not required by the existing
functional test cases. This change makes neutron tox functional tests
adopt openstack.common.lockutils for locking.

Closes-Bug: 1332380
Change-Id: I4d6076e5f7586a11ea5381f18774d4bab57b0081

tox.ini

diff --git a/tox.ini b/tox.ini
index 88d0fa9a257b16e25bfd05ce78a03e3831046d62..d302de839db2533ee5c9829d87c803084ea16302 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -16,7 +16,7 @@ commands =
 [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}'
 
 [tox:jenkins]
 sitepackages = True