mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
tests: run bcakend tests for 50 seconds instead of 60 because this is the point of optimization
This commit is contained in:
parent
f7e73515cd
commit
1b772c449d
1 changed files with 3 additions and 2 deletions
|
@ -14,6 +14,7 @@ cd "${MY_DIR}/../../../"
|
|||
# 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 &
|
||||
|
||||
echo "Now I will try for 15 seconds to connect to Etherpad on http://localhost:9001"
|
||||
|
@ -38,8 +39,8 @@ curl http://localhost:9001/p/minifyme -f -s > /dev/null
|
|||
sleep 10
|
||||
|
||||
# run the backend tests
|
||||
echo "Now run the load tests for 60 seconds and if it stalls before 100 then error"
|
||||
etherpad-loadtest -d 60
|
||||
echo "Now run the load tests for 50 seconds and if it stalls before 100 then error"
|
||||
etherpad-loadtest -d 50
|
||||
exit_code=$?
|
||||
|
||||
kill $!
|
||||
|
|
Loading…
Reference in a new issue