tests: run a long(1+ hr) load test

This commit is contained in:
John McLear 2021-02-28 16:05:16 +00:00 committed by GitHub
parent d7fd3934de
commit 35ae08ca77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 3 deletions

View file

@ -42,7 +42,9 @@ try curl http://localhost:9001/p/minifyme -f -s >/dev/null
sleep 10
log "Running the load tests..."
etherpad-loadtest -d 25
# -d is duration of test, -a is number of authors to test with
# by specifying the number of authors we set the overall rate of messages
etherpad-loadtest -d $1 -a $2
exit_code=$?
kill "$ep_pid" && wait "$ep_pid"