Fix interprocess locks for run_tests.sh
In recent change of commit 78d62186e5b0388f740d42cb8da5798cd67d7880 tox test has been switched to use openstack.common.lockutils module for interprocess locks. However, run_tests.sh is left unchanged, which hit a regression when running tests with run_tests.sh This change applies the same change in commit 78d621 for tox.ini to run_tests.sh, i.e. using openstack.common.lockutils to create temporary directory for locks and pass it as env variables to all tests. Closes-Bug: #1264058 Change-Id: I007bd39e4d9aad7539b4b7389eb5189b5d1f10e2
This commit is contained in:
parent
3d19edc023
commit
d1eaf82268
@ -177,7 +177,7 @@ function run_pep8 {
|
||||
}
|
||||
|
||||
|
||||
TESTRTESTS="python setup.py testr"
|
||||
TESTRTESTS="python -m nova.openstack.common.lockutils python setup.py testr"
|
||||
|
||||
if [ $never_venv -eq 0 ]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user