tests: Set loglevel to WARN instead of suppressing stdout

pull/4507/head
Richard Hansen 2020-11-20 21:04:54 -05:00 committed by John McLear
parent aa3b5d2090
commit 9abb77e899
3 changed files with 6 additions and 2 deletions

View File

@ -53,6 +53,7 @@ jobs:
- name: "Run the Backend tests without Plugins"
install:
- *install_libreoffice
- *set_loglevel_warn
- "bin/installDeps.sh"
- "cd src && npm install && cd -"
script:
@ -66,6 +67,7 @@ jobs:
- "cd src && npm run test-container"
- name: "Load test Etherpad without Plugins"
install:
- *set_loglevel_warn
- "bin/installDeps.sh"
- "cd src && npm install && cd -"
- "npm install -g etherpad-load-test"
@ -92,6 +94,7 @@ jobs:
- name: "Run the Backend tests with Plugins"
install:
- *install_libreoffice
- *set_loglevel_warn
- "bin/installDeps.sh"
- *install_plugins
- "cd src && npm install && cd -"
@ -106,6 +109,7 @@ jobs:
- "cd src && npm run test-container"
- name: "Load test Etherpad with Plugins"
install:
- *set_loglevel_warn
- "bin/installDeps.sh"
- *install_plugins
- "cd src && npm install && cd -"

View File

@ -23,7 +23,7 @@ sed 's/\"points\": 10/\"points\": 1000/g' settings.json.rateLimit > settings.jso
# This is possible because the "install" section of .travis.yml already contains
# 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 "${@}" > /dev/null &
node node_modules/ep_etherpad-lite/node/server.js "${@}" &
echo "Now I will try for 15 seconds to connect to Etherpad on http://localhost:9001"

View File

@ -20,7 +20,7 @@ sed 's/\"loadTest\": false,/\"loadTest\": true,/g' settings.json.points > settin
# 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 "${@}" > /dev/null &
node node_modules/ep_etherpad-lite/node/server.js "${@}" &
echo "Now I will try for 15 seconds to connect to Etherpad on http://localhost:9001"