From b6c8ece12c5f45a688537c5075d01d2668d206d9 Mon Sep 17 00:00:00 2001 From: Cedric Brandily Date: Mon, 1 Jun 2015 21:11:22 +0200 Subject: [PATCH] Enable random hash seeds neutron-lbaas 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. Closes-Bug: #1348818 Change-Id: I7dce768feeb7c34cdd67bcd54a253d97f4e88f4e Depends-On: I1063304dda887eb82c0de8516d5a483fa8943fc1 Depends-On: I35f89a9ab6883f5fd600be804d75b67275e6629a Depends-On: I94c160c56d074c7a14aaae1fff379fc1c51bd16a --- tox.ini | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tox.ini b/tox.ini index c1618a4ef..5012f3871 100644 --- a/tox.ini +++ b/tox.ini @@ -4,10 +4,7 @@ minversion = 1.6 skipsdist = True [testenv] -# Note the hash seed is set to 0 until neutron can be tested with a -# random hash seed successfully. setenv = VIRTUAL_ENV={envdir} - PYTHONHASHSEED=0 usedevelop = True install_command = pip install -U {opts} {packages} 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 # 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] setenv = OS_TEST_PATH=./neutron-lbaas/tests/functional commands =