From: Rui Zang Date: Fri, 20 Jun 2014 14:08:12 +0000 (+0800) Subject: Use openstack.common.lockutils module for locks in tox functional tests. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=0e2af67d3556a848ff34482c3f3448f9f5b8ec21;p=openstack-build%2Fneutron-build.git Use openstack.common.lockutils module for locks in tox functional tests. Tox test has been switched to use openstack.common.lockutils module for interprocess locks. However neutron tox functional tests was left behind probably because locking is not required by the existing functional test cases. This change makes neutron tox functional tests adopt openstack.common.lockutils for locking. Closes-Bug: 1332380 Change-Id: I4d6076e5f7586a11ea5381f18774d4bab57b0081 --- diff --git a/tox.ini b/tox.ini index 88d0fa9a2..d302de839 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,7 @@ commands = [testenv:functional] setenv = OS_TEST_PATH=./neutron/tests/functional commands = - python setup.py testr --slowest --testr-args='{posargs}' + python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='{posargs}' [tox:jenkins] sitepackages = True