summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-07-31 18:30:01 +0000
committerGerrit Code Review <review@openstack.org>2014-07-31 18:30:01 +0000
commitea457c6a306abf53b29bec3e1dd8b42d2c88cbf7 (patch)
tree1df7aea75055bfbb4e3c0549f1d10b7854b4a2b1
parent0b96aba202753ae5f98b232bd18f3c4dbb424a8b (diff)
parente4918377fc686fe1f917416da59479d77bb985b0 (diff)
downloadceilometer-ea457c6a306abf53b29bec3e1dd8b42d2c88cbf7.tar.gz
Merge "Set python hash seed to 0 in tox.ini" into stable/icehouse2014.1.2
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 82409602..6b79058a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,14 +8,16 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U --allow-external pytidylib --allow-insecure pytidylib --allow-external netifaces --allow-insecure netifaces {opts} {packages}
usedevelop = True
+# Note the hash seed is set to 0 until ceilometer can be tested with a
+# random hash seed successfully.
setenv = VIRTUAL_ENV={envdir}
EVENTLET_NO_GREENDNS=yes
+ PYTHONHASHSEED=0
commands =
bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --testr-args="{posargs}"
downloadcache = {toxworkdir}/_download
[testenv:cover]
-setenv = VIRTUAL_ENV={envdir}
commands = bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --coverage --testr-args="{posargs}"
[testenv:pep8]