From ef5b4f52749b246d8165058ff320399c9c13f5ac Mon Sep 17 00:00:00 2001 From: Cedric Brandily Date: Tue, 26 May 2015 14:29:15 +0200 Subject: [PATCH] Enable random hash seeds Neutron 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: I1063304dda887eb82c0de8516d5a483fa8943fc1 Depends-On: I8408365825ec1e97a83c2181f38ec1f9468df91e Depends-On: I1b2bd4100c19004f12822c414aefc86aae9849db Depends-On: I5077764045a34d1be0e85bb4b80f3655e87692cc --- tox.ini | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tox.ini b/tox.ini index 1c8761c7051..5d9710a9b7a 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,6 @@ skipsdist = True # 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 = -r{toxinidir}/requirements.txt @@ -19,12 +18,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:api] setenv = OS_TEST_PATH=./neutron/tests/api TEMPEST_CONFIG_DIR={env:TEMPEST_CONFIG_DIR:/opt/stack/tempest/etc}