exit test script with locust's exit code
This commit is contained in:
parent
5226e0032e
commit
30f5705aa5
|
@ -6,5 +6,8 @@ JAVA_PID=$!
|
|||
sleep 4
|
||||
|
||||
locust --headless -u 1000 -r 100 --run-time 4m --stop-timeout 30 -f tests/locustfile.py
|
||||
status=$?
|
||||
|
||||
kill $JAVA_PID
|
||||
|
||||
exit $status
|
||||
|
|
Loading…
Reference in New Issue