Skip to content

Commit

Permalink
[ft-benchmark] run locust in nohup (#11518)
Browse files Browse the repository at this point in the history
Without running locust in nohup, shell script waits until locust finish
and only after this run data sender

Co-authored-by: Viktar Makouski <[email protected]>
  • Loading branch information
MCJOHN974 and Viktar Makouski committed Jun 10, 2024
1 parent 75eee5e commit 1e39d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ft-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export KEY=~/.near/localnet/node0/validator_key.json

# Run benchmark
cd pytest/tests/loadtest/locust/
locust -H 127.0.0.1:3030 -f locustfiles/ft.py --funding-key=$KEY -u 1000 -r 10 --processes 8 --headless
nohup locust -H 127.0.0.1:3030 -f locustfiles/ft.py --funding-key=$KEY -u 1000 -r 10 --processes 8 --headless &

# Give locust 5 minutes to start and rump up
sleep 300
Expand Down

0 comments on commit 1e39d94

Please sign in to comment.