diff options
author | Nikhil Manchanda <SlickNik@gmail.com> | 2014-08-21 16:03:36 -0400 |
---|---|---|
committer | Nikhil Manchanda <SlickNik@gmail.com> | 2014-08-25 23:55:22 -0700 |
commit | 71349ca07a760804674ef0e60280508a4c520a69 (patch) | |
tree | f8e80aaec2d49081c92f9f6ea659cc0d72ef7e4b | |
parent | 318c2b71426380f6a35f1f6edaaa8da7912ae725 (diff) | |
download | trove-71349ca07a760804674ef0e60280508a4c520a69.tar.gz |
Set the python hash seed that tox uses to 0
The current trove unit tests don't work correctly with the random
hash seed that the new tox sets by default.
This change forces the new tox to use 0 as the hash seed which
should unblock the gate until we can fix the trove unit tests
to run correctly with a random hash seed.
This change will probably need to be backported to the stable
branches to ensure that the tox tests keep working there as well.
Change-Id: Ib5c6d4d166c847ce94ec70740c5753d338687865
(cherry picked from commit 7e6cf5bfaf57ef8628c8f72ea29ecd12179fab72)
-rw-r--r-- | tox.ini | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,14 +4,17 @@ minversion = 1.6 skipsdist = True [testenv] +# Note the hash seed is set to 0 until trove unit tests can run 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 -r{toxinidir}/test-requirements.txt setuptools_git>=0.4 commands = {envpython} run_tests.py - python setup.py testr --slowest + python setup.py testr --slowest [tox:jenkins] sitepackages = True @@ -55,4 +58,3 @@ commands = openstack-doc-test --check-build {posargs} [testenv:publishdocs] commands = openstack-doc-test --check-build --publish --force - |