use $2 for -j too in tests/stress.sh

This commit is contained in:
craff 2023-01-14 17:51:55 -10:00
parent dc7fb3b87f
commit ce463b76b4

View file

@ -1,12 +1,13 @@
#!/bin/bash
SERVER=$1
nb=$2
PORT=8088
"$SERVER" . -p $PORT &
"$SERVER" . -p $PORT -j $nb &
PID=$!
url=http://localhost:${PORT}/foo_50
nb=$2
sleep_time=0
for (( c=1; c<=$nb; c++ )); do