Skip to content

Commit b6f6e76

Browse files
BasilBeiroutiBasil Beirouti
andauthored
fix: set PYTHONHASHSEED env variable to fixed value to fix intermittent failures in release pipeline (#3339)
Co-authored-by: Basil Beirouti <[email protected]>
1 parent d47d966 commit b6f6e76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,16 @@ markers =
5959
timeout: mark a test as a timeout.
6060

6161
[testenv]
62+
setenv =
63+
PYTHONHASHSEED=42
6264
pip_version = pip==21.3
6365
passenv =
6466
AWS_ACCESS_KEY_ID
6567
AWS_SECRET_ACCESS_KEY
6668
AWS_SESSION_TOKEN
6769
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
6870
AWS_DEFAULT_REGION
71+
PYTHONHASHSEED
6972
# {posargs} can be passed in by additional arguments specified when invoking tox.
7073
# Can be used to specify which tests to run, e.g.: tox -- -s
7174
commands =

0 commit comments

Comments
 (0)