diff options
author | David Baker <dave@matrix.org> | 2016-06-24 14:03:39 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-06-24 14:03:39 +0100 |
commit | 3f7652c56fd925cfa7cbae059993f0dc8f1fabbe (patch) | |
tree | 357433ee4991cb9e040011f5533694ae7a1ed9a8 /jenkins-postgres.sh | |
parent | Remove room name & alias test (diff) | |
parent | Merge pull request #895 from matrix-org/markjh/jenkins_port_range (diff) | |
download | synapse-3f7652c56fd925cfa7cbae059993f0dc8f1fabbe.tar.xz |
Merge remote-tracking branch 'origin/develop' into dbkr/push_room_naming
Diffstat (limited to 'jenkins-postgres.sh')
-rwxr-xr-x | jenkins-postgres.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jenkins-postgres.sh b/jenkins-postgres.sh index ae6b111591..2f0768fcb7 100755 --- a/jenkins-postgres.sh +++ b/jenkins-postgres.sh @@ -44,6 +44,7 @@ cd sytest git checkout "${GIT_BRANCH}" || (echo >&2 "No ref ${GIT_BRANCH} found, falling back to develop" ; git checkout develop) : ${PORT_BASE:=8000} +: ${PORT_COUNT=20} ./jenkins/prep_sytest_for_postgres.sh @@ -51,7 +52,7 @@ echo >&2 "Running sytest with PostgreSQL"; ./jenkins/install_and_run.sh --coverage \ --python $TOX_BIN/python \ --synapse-directory $WORKSPACE \ - --port-base $PORT_BASE + --port-range ${PORT_BASE}:$((PORT_BASE+PORT_COUNT-1)) \ cd .. cp sytest/.coverage.* . |