mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
tests: run a long(1+ hr) load test
This commit is contained in:
parent
d7fd3934de
commit
35ae08ca77
2 changed files with 33 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue