remove test exit, and use port we are semi-sure is free

This commit is contained in:
Bruno Windels 2018-07-27 16:22:17 +02:00
parent e8f626ba18
commit 976f041bba
2 changed files with 2 additions and 3 deletions

View file

@ -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/

View file

@ -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) {