mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-11-20 18:06:02 -05:00
exit test script with locust's exit code
This commit is contained in:
@@ -6,5 +6,8 @@ JAVA_PID=$!
|
|||||||
sleep 4
|
sleep 4
|
||||||
|
|
||||||
locust --headless -u 1000 -r 100 --run-time 4m --stop-timeout 30 -f tests/locustfile.py
|
locust --headless -u 1000 -r 100 --run-time 4m --stop-timeout 30 -f tests/locustfile.py
|
||||||
|
status=$?
|
||||||
|
|
||||||
kill $JAVA_PID
|
kill $JAVA_PID
|
||||||
|
|
||||||
|
exit $status
|
||||||
|
|||||||
Reference in New Issue
Block a user