specify run time of locust tests

This commit is contained in:
hrj 2021-04-02 15:51:55 +05:30
parent e79da3b881
commit f02eadb945

View File

@ -5,6 +5,6 @@ java -jar target/scala-2.13/LibreCaptcha.jar &
JAVA_PID=$! JAVA_PID=$!
sleep 4 sleep 4
locust --headless -u 1000 -r 100 -f tests/locustfile.py locust --headless -u 1000 -r 100 --run-time 4m --stop-timeout 30 -f tests/locustfile.py
kill $JAVA_PID kill $JAVA_PID