tests: adding a check before finishing responsiveness test - allowing load test to run for 25 instead of 30 seconds to facilitate travis performance. (#4363)

The goal of this PR is to make tests break less frequently.  It is yet confirmed if this has worked but time will tell.
This commit is contained in:
John McLear 2020-09-27 15:13:55 +01:00 committed by GitHub
parent 411b278881
commit 53b80d6280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View file

@ -41,8 +41,8 @@ curl http://localhost:9001/p/minifyme -f -s > /dev/null
sleep 10
# run the backend tests
echo "Now run the load tests for 30 seconds and if it stalls before 100 then error"
etherpad-loadtest -d 30
echo "Now run the load tests for 25 seconds and if it stalls before 100 then error"
etherpad-loadtest -d 25
exit_code=$?
kill $!