Work around PYTHONHASHSEED-related problems
The JJB unit tests no longer pass, due to an upgraded version of tox which sets PYTHONHASHSEED to random values. Since the ordering problem introduced is a difficult one to smash, this just sets PYTHONHASHSEED to 0. This also fixes the syntax of the "[testenv]setenv" configuration setting. Change-Id: I61fdbdf1a5099bcbacaeba59ff5001bb23df8cfd Related-Bug: #1348818
This commit is contained in:
parent
0268581fca
commit
df37b9b7c7
8
tox.ini
8
tox.ini
@ -6,9 +6,11 @@ envlist = pep8, py26, py27
|
||||
downloadcache = ~/cache/pip
|
||||
|
||||
[testenv]
|
||||
setenv VIRTUAL_ENV={envdir}
|
||||
SUBUNIT_FORMATTER=tee testr_subunit_log
|
||||
OS_STDOUT_NOCAPTURE=False
|
||||
# Note(Vek): JJB is not compatible with a non-zero PYTHONHASHSEED
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
SUBUNIT_FORMATTER=tee testr_subunit_log
|
||||
OS_STDOUT_NOCAPTURE=False
|
||||
PYTHONHASHSEED=0
|
||||
usedevelop = True
|
||||
install_command = pip install {opts} {packages}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user