remove test exit, and use port we are semi-sure is free
This commit is contained in:
parent
e8f626ba18
commit
976f041bba
2 changed files with 2 additions and 3 deletions
|
@ -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/
|
||||
|
|
3
start.js
3
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) {
|
||||
|
|
Loading…
Reference in a new issue