Enable random hash seeds

neutron-vpnaas tests have been updated in order to support random hash
seed. It allows to remove PYTHONHASHSEED=0 in tox.ini and remove
hashtest tox environment.

Change-Id: I94c160c56d074c7a14aaae1fff379fc1c51bd16a
Partial-Bug: #1348818
This commit is contained in:
Cedric Brandily 2015-06-01 07:53:41 +02:00
parent 40c004f987
commit 363c457134
1 changed files with 0 additions and 9 deletions

View File

@ -4,10 +4,7 @@ minversion = 1.6
skipsdist = True skipsdist = True
[testenv] [testenv]
# Note the hash seed is set to 0 until neutron can be tested with a
# random hash seed successfully.
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
usedevelop = True usedevelop = True
install_command = pip install -U {opts} {packages} install_command = pip install -U {opts} {packages}
deps = -egit+https://git.openstack.org/openstack/neutron#egg=neutron deps = -egit+https://git.openstack.org/openstack/neutron#egg=neutron
@ -19,12 +16,6 @@ commands =
# there is also secret magic in pretty_tox.sh which lets you run in a fail only # there is also secret magic in pretty_tox.sh which lets you run in a fail only
# mode. To do this define the TRACE_FAILONLY environmental variable. # mode. To do this define the TRACE_FAILONLY environmental variable.
[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] [testenv:functional]
setenv = OS_TEST_PATH=./neutron-vpnaas/tests/functional setenv = OS_TEST_PATH=./neutron-vpnaas/tests/functional
commands = commands =