]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Set python hash seed to 0 in tox.ini
authorClark Boylan <clark.boylan@gmail.com>
Fri, 25 Jul 2014 21:33:10 +0000 (14:33 -0700)
committerClark Boylan <clark.boylan@gmail.com>
Fri, 25 Jul 2014 21:33:10 +0000 (14:33 -0700)
commit03293715b1e950cf406018058e4c8a514c0f977f
tree493244cd74e5f27852868bcbeaceb7822760811c
parent4d56b91628518629b47997b93acd9cb1e48f87f5
Set python hash seed to 0 in tox.ini

New tox (>=1.7.0) sets a random python hash seed by default. This is
generally good for testing because it will help keep projects working
regardless of the hash seed, but cinder unittests don't currently pass
with a random hash seed so set it to the python default seed.

This change will allow us to use new tox again and remove the
restriction on tox<=1.6.1 to run unittests.

Redundant setenvs for specific test envs are removed to prevent them
from overriding the PYTHONHASHSEED value.

Note this change will need to be backported to the stable branches to
keep unittests there working with new tox as well.

Change-Id: Ia55031528d082a1b11da6890447c5584e9e27551
tox.ini