From 976f041bbadbd43b434c336055f8a670a04c358a Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 27 Jul 2018 16:22:17 +0200 Subject: [PATCH] remove test exit, and use port we are semi-sure is free --- riot/start.sh | 2 +- start.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/riot/start.sh b/riot/start.sh index 3892a80a48..8e7e742f98 100755 --- a/riot/start.sh +++ b/riot/start.sh @@ -1,5 +1,5 @@ #!/bin/bash -PORT=8080 +PORT=5000 echo "running riot on http://localhost:$PORT..." BASE_DIR=$(readlink -f $(dirname $0)) cd $BASE_DIR/ diff --git a/start.js b/start.js index 5e14539bfc..05f4df9d0c 100644 --- a/start.js +++ b/start.js @@ -25,11 +25,10 @@ const acceptServerNoticesInviteAndConsent = require('./tests/server-notices-cons const homeserver = 'http://localhost:8008'; -global.riotserver = 'http://localhost:8080'; +global.riotserver = 'http://localhost:5000'; global.browser = null; async function runTests() { - process.exit(-1); console.log("running tests ..."); const options = {}; if (process.env.CHROME_PATH) {