Unbuffered output, so CircleCI gets progress.

This commit is contained in:
Itamar Turner-Trauring 2020-09-03 14:51:45 -04:00
parent 8e19b999c4
commit d56a97675b

View File

@ -46,7 +46,7 @@ fi
# A prefix for the test command that ensure it will exit after no more than a
# certain amount of time. Ideally, we would only enforce a "silent" period
# timeout but there isn't obviously a ready-made tool for that. The test
# suite only takes about 5 - 6 minutes on CircleCI right now. 15 minutes
# suite only takes about 5 - 6 minutes on CircleCI right now. 25 minutes
# seems like a moderately safe window.
#
# This is primarily aimed at catching hangs on the PyPy job which runs for
@ -68,6 +68,10 @@ export SUBUNITREPORTER_OUTPUT_PATH="${SUBUNIT2}"
export TAHOE_LAFS_TRIAL_ARGS="${TAHOE_LAFS_TRIAL_ARGS:---reporter=subunitv2-file --rterrors}"
export PIP_NO_INDEX="1"
# Make output unbuffered, so realtime status reports from subunit2 get printed,
# thus preventing CircleCI timeout after 20 minutes of "inactivity".
export PYTHONUNBUFFERED=1
if [ "${ALLOWED_FAILURE}" = "yes" ]; then
alternative="true"
else