test 3000 clients
This commit is contained in:
12
tester.sh
12
tester.sh
@@ -96,14 +96,14 @@ launch_client "$text"
|
||||
stop_last_client
|
||||
|
||||
|
||||
|
||||
## # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
# #
|
||||
#for i in {1..3000}
|
||||
#do
|
||||
# nc localhost "$port" 2>&1 &
|
||||
# kill -KILL $(pidof nc | tr ' ' '\n' | head -n1)
|
||||
#done
|
||||
for i in {1..3000}
|
||||
do
|
||||
#launch_client
|
||||
nc localhost "$port" 2>&1 &
|
||||
stop_last_client
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo "done"
|
||||
|
||||
Reference in New Issue
Block a user