From 8c902431baf5cc7b5a9208e235350d6e348ce959 Mon Sep 17 00:00:00 2001
From: Mark Haines <mark.haines@matrix.org>
Date: Tue, 1 Dec 2015 12:01:29 +0000
Subject: [PATCH] Set the port when running sytest under postgresql

---
 jenkins.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jenkins.sh b/jenkins.sh
index 63d80ab355..26e0088cd9 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -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
-- 
GitLab