summary refs log tree commit diff
path: root/jenkins-sqlite.sh
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-06-24 13:53:03 +0100
committerMark Haines <mark.haines@matrix.org>2016-06-24 13:53:03 +0100
commitf7fe0e5f67e44c07e100226f54e183f82f2c98eb (patch)
tree4d2bf179bc8299178273497f7deb2ab0aabe5d73 /jenkins-sqlite.sh
parentMerge branch 'master' into develop (diff)
downloadsynapse-f7fe0e5f67e44c07e100226f54e183f82f2c98eb.tar.xz
Fix the sytests to use a port-range rather than a port base
Diffstat (limited to 'jenkins-sqlite.sh')
-rwxr-xr-xjenkins-sqlite.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/jenkins-sqlite.sh b/jenkins-sqlite.sh
index 9398d9db15..da603c5af8 100755
--- a/jenkins-sqlite.sh
+++ b/jenkins-sqlite.sh
@@ -41,11 +41,12 @@ cd sytest
 
 git checkout "${GIT_BRANCH}" || (echo >&2 "No ref ${GIT_BRANCH} found, falling back to develop" ; git checkout develop)
 
-: ${PORT_BASE:=8500}
+: ${PORT_COUNT=20}
+: ${PORT_BASE:=8000}
 ./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.* .