Fix interprocess locks for run_tests.sh

In recent change of commit 78d62186e5 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:
Qiu Yu 2013-12-25 17:14:33 +08:00
parent 3d19edc023
commit d1eaf82268
1 changed files with 1 additions and 1 deletions

View File

@ -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