Few fixes (#4883)
This commit is contained in:
@@ -4,15 +4,17 @@
|
||||
|
||||
set -ex
|
||||
|
||||
users=${2:-10}
|
||||
timeout=${1:-600}
|
||||
private_key=${1}
|
||||
network=${2:-mainnet}
|
||||
timeout=${3:-600}
|
||||
users=${4:-10}
|
||||
|
||||
RUST_LOG=info nym-network-monitor --env mainnet.env --host 127.0.0.1 --port 8080 &
|
||||
RUST_LOG=info nym-network-monitor --env envs/"${network}".env --host 127.0.0.1 --port 8080 --private-key "${private_key}" &
|
||||
nnm_pid=$!
|
||||
|
||||
sleep 10
|
||||
|
||||
python -m locust -H http://127.0.0.1:8080 --processes 4 --autostart --autoquit 60 -u "$users" -t "$timeout"s &
|
||||
python -m locust -H http://127.0.0.1:8080 --processes 4 --autostart --autoquit 60 -u "${users}" -t "${timeout}"s &
|
||||
locust_pid=$!
|
||||
|
||||
wait $locust_pid
|
||||
|
||||
Reference in New Issue
Block a user