From f02eadb945cb94d6344a5f52faac2ec15bf1057f Mon Sep 17 00:00:00 2001 From: hrj Date: Fri, 2 Apr 2021 15:51:55 +0530 Subject: [PATCH] specify run time of locust tests --- tests/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run.sh b/tests/run.sh index 988b5e9..0eebb9b 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -5,6 +5,6 @@ java -jar target/scala-2.13/LibreCaptcha.jar & JAVA_PID=$! 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