mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 05:05:05 -04:00
Fix the sytests to use a port-range rather than a port base
This commit is contained in:
parent
05f1a4596a
commit
f7fe0e5f67
3 changed files with 7 additions and 4 deletions
|
@ -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.* .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue