Fix truncation in travis (#4479)

* log to travis every five seconds
* travis: kill etherpad process after tests
This commit is contained in:
webzwo0i 2020-11-10 06:59:50 +01:00 committed by GitHub
parent f0da3a0c4c
commit f6aed0c9cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 8 deletions

View file

@ -17,6 +17,7 @@ cd "${MY_DIR}/../../../"
# a call to bin/installDeps.sh
echo "Running Etherpad directly, assuming bin/installDeps.sh has already been run"
node node_modules/ep_etherpad-lite/node/server.js --experimental-worker "${@}" &
ep_pid=$!
echo "Now I will try for 15 seconds to connect to Etherpad on http://localhost:9001"
@ -44,5 +45,6 @@ node remote_runner.js
exit_code=$?
kill $(cat /tmp/sauce.pid)
kill $ep_pid
exit $exit_code