tests: backend tests tweak
parent
add3b23f66
commit
2844224acb
|
@ -48,7 +48,7 @@ jobs:
|
||||||
install:
|
install:
|
||||||
- "bin/installDeps.sh"
|
- "bin/installDeps.sh"
|
||||||
- "cd src && npm install && cd -"
|
- "cd src && npm install && cd -"
|
||||||
- "npm install --prefix ./etherpad-load-test etherpad-load-test"
|
- "npm install -g etherpad-load-test"
|
||||||
script:
|
script:
|
||||||
- "tests/frontend/travis/runnerLoadTest.sh"
|
- "tests/frontend/travis/runnerLoadTest.sh"
|
||||||
|
|
||||||
|
|
|
@ -38,12 +38,8 @@ curl http://localhost:9001/p/minifyme -f -s > /dev/null
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
# run the backend tests
|
# run the backend tests
|
||||||
echo "Now run the backend tests"
|
echo "Now run the load tests for 60 seconds and if it stalls before 100 then error"
|
||||||
cd etherpad-load-test
|
etherpad-load-test -d 60
|
||||||
npm install
|
|
||||||
node app.js -d 60
|
|
||||||
# cd src
|
|
||||||
# npm run test
|
|
||||||
exit_code=$?
|
exit_code=$?
|
||||||
|
|
||||||
kill $!
|
kill $!
|
||||||
|
|
Loading…
Reference in New Issue