Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-03 00:22:42 +02:00 committed by GitHub
parent 0b77909dd0
commit 06189c2a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,8 @@ do
echo -e "Output of $function is:\n"
curl --data-binary "@$function.body.txt" --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/$function
echo -e "\n"
tr -d '\n' < $function.body.txt
tr -d '\n' < $function.body.txt > $function.body.txt
tr -d '\r' < $function.body.txt > $function.body.txt
for connection in "${connections[@]}"
do
if [[ $connection -lt 41 ]]