jenkins.sh: use fsync=off and allocate a port manually for pg_virtualenv (fixes #32218)

This commit is contained in:
Benjamin Dauvergne 2019-04-11 12:03:37 +02:00
parent c6749111ad
commit 532e5b2066
1 changed files with 1 additions and 1 deletions

View File

@ -11,4 +11,4 @@ done
virtualenv venv
venv/bin/pip install tox
pg_virtualenv venv/bin/tox -rv
PGPORT=`python -c 'import struct; import socket; s=socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER, struct.pack("ii", 1, 0)); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'` pg_virtualenv -o fsync=off venv/bin/tox -rv