1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-04-08 13:03:59 +00:00

Set the port when running sytest under postgresql

This commit is contained in:
Mark Haines 2015-12-01 12:01:29 +00:00
parent a33c0748e3
commit 8c902431ba

View file

@ -64,7 +64,7 @@ done
if test $RUN_POSTGRES = ":$(($PORT_BASE + 1)):$(($PORT_BASE + 2))"; then
echo >&2 "Running sytest with PostgreSQL";
pip install psycopg2
./run-tests.pl -O tap --synapse-directory .. --all > results.tap
./run-tests.pl -O tap --synapse-directory .. --all --port-base $PORT_BASE > results.tap
else
echo >&2 "Skipping running sytest with PostgreSQL, $RUN_POSTGRES"
fi