Fix for overly-long temporary paths for unix sockets on macOS.

This commit is contained in:
Itamar Turner-Trauring 2022-02-22 11:26:00 -05:00
parent a7e4add602
commit 52f0e18d6b

View File

@ -87,10 +87,13 @@ commands =
[testenv:integration]
basepython = python3
platform = mylinux: linux
mymacos: darwin
mywindows: win32
setenv =
COVERAGE_PROCESS_START=.coveragerc
# Without this, temporary file paths are too long on macOS, breaking tor
mymacos: TMPDIR=/tmp
commands =
# NOTE: 'run with "py.test --keep-tempdir -s -v integration/" to debug failures'
py.test --timeout=1800 --coverage -v {posargs:integration}