From d1eaf822682245318a9499c53c4f5d02fa3a52bd Mon Sep 17 00:00:00 2001 From: Qiu Yu Date: Wed, 25 Dec 2013 17:14:33 +0800 Subject: [PATCH] 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 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index bb4e72c002e6..68cb63f9d87a 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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