diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-06-24 13:53:03 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-06-24 13:53:03 +0100 |
commit | f7fe0e5f67e44c07e100226f54e183f82f2c98eb (patch) | |
tree | 4d2bf179bc8299178273497f7deb2ab0aabe5d73 /jenkins-dendron-postgres.sh | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-f7fe0e5f67e44c07e100226f54e183f82f2c98eb.tar.xz |
Fix the sytests to use a port-range rather than a port base
Diffstat (limited to 'jenkins-dendron-postgres.sh')
-rwxr-xr-x | jenkins-dendron-postgres.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jenkins-dendron-postgres.sh b/jenkins-dendron-postgres.sh index 7e6f24aa7d..50268e0982 100755 --- a/jenkins-dendron-postgres.sh +++ b/jenkins-dendron-postgres.sh @@ -70,6 +70,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 @@ -81,6 +82,6 @@ echo >&2 "Running sytest with PostgreSQL"; --dendron $WORKSPACE/dendron/bin/dendron \ --pusher \ --synchrotron \ - --port-base $PORT_BASE + --port-range ${PORT_BASE}:$((PORT_BASE+PORT_COUNT-1)) cd .. |