From: Jenkins Date: Mon, 25 Aug 2014 19:06:45 +0000 (+0000) Subject: Merge "Use openstack.common.lockutils module for locks in tox functional tests." X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=0eace399c7b6dc24c595d08dcca7792c07655539;p=openstack-build%2Fneutron-build.git Merge "Use openstack.common.lockutils module for locks in tox functional tests." --- 0eace399c7b6dc24c595d08dcca7792c07655539 diff --cc tox.ini index da3ebf1b3,d302de839..086001d18 --- a/tox.ini +++ b/tox.ini @@@ -15,24 -12,11 +15,24 @@@ deps = -r{toxinidir}/requirements.tx commands = python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='{posargs}' +[testenv:hashtest] +# This is the same as default environment, but with a random PYTHONHASHSEED. +# You can also specify a specific hashseed (for test repeatability) as follows: +# tox --hashseed 1235130571 -e hashtest +setenv = VIRTUAL_ENV={envdir} + [testenv:functional] setenv = OS_TEST_PATH=./neutron/tests/functional +commands = + python setup.py testr --slowest --testr-args='{posargs}' + +[testenv:dsvm-functional] +setenv = OS_TEST_PATH=./neutron/tests/functional + OS_SUDO_TESTING=1 + OS_ROOTWRAP_CMD=sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf + OS_FAIL_ON_MISSING_DEPS=1 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