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.
Reviewed: https:/ /review. openstack. org/64006 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d1eaf822682 245318a9499c53c 4f5d02fa3a52bd
Committed: https:/
Submitter: Jenkins
Branch: master
commit d1eaf8226822453 18a9499c53c4f5d 02fa3a52bd
Author: Qiu Yu <email address hidden>
Date: Wed Dec 25 17:14:33 2013 +0800
Fix interprocess locks for run_tests.sh
In recent change of commit 78d62186e5b0388 f740d42cb8da579 8cd67d7880 tox common. lockutils module for
test has been switched to use openstack.
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 common. lockutils to create temporary
run_tests.sh, i.e. using openstack.
directory for locks and pass it as env variables to all tests.
Closes-Bug: #1264058 7539b4b7389eb51 89b5d1f10e2
Change-Id: I007bd39e4d9aad