diff options
author | Sean Dague <sean@dague.net> | 2014-10-28 09:33:49 -0400 |
---|---|---|
committer | Davanum Srinivas <dims@linux.vnet.ibm.com> | 2014-10-29 14:22:45 -0400 |
commit | a2d87348819336702137007195dc19d52009f728 (patch) | |
tree | acc1f963e8ad66c3f427540226e54039d5648f46 /tools | |
parent | 3adb279913f062d51c6d64d23a695df1f77a7987 (diff) | |
download | nova-a2d87348819336702137007195dc19d52009f728.tar.gz |
remove use of explicit lockutils invocation in tests
Instead of passing lockutils loading explicitly in the test run
command line, provide the support for individual test classes to ask
that lock_path is setup with the REQUIRES_LOCKING = True class
parameter.
Augment all classes that currently fail without this with
REQUIRES_LOCKING = True. Hopefully many of those can be individually
removed in the future so we can get out of needing external locking in
any of our unit tests.
Change-Id: I56229e93ad61ac823646a4119a035d36c3400173
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/pretty_tox.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pretty_tox.sh b/tools/pretty_tox.sh index 137f7df3f6..123828aa78 100755 --- a/tools/pretty_tox.sh +++ b/tools/pretty_tox.sh @@ -3,4 +3,4 @@ set -o pipefail TESTRARGS=$1 -python -m nova.openstack.common.lockutils python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | $(dirname $0)/subunit-trace.py -f +python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | $(dirname $0)/subunit-trace.py -f |