Use openstack.common.lockutils module for locks in tox functional tests.
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
This commit is contained in:
parent
ad67acfa79
commit
0e2af67d35
2
tox.ini
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user