remove hey from echo
This commit is contained in:
parent
06a9a57c88
commit
bb9ca10bad
@ -50,7 +50,7 @@ for function in "${functions[@]}"; do
|
|||||||
datetime=$(date '+%Y-%m-%d-%H-%M-%S')
|
datetime=$(date '+%Y-%m-%d-%H-%M-%S')
|
||||||
echo -e "Time: $time\n"
|
echo -e "Time: $time\n"
|
||||||
if [[ $* == *"--fire"* ]]; then
|
if [[ $* == *"--fire"* ]]; then
|
||||||
echo -e "hey-summary $datetime\n"
|
echo -e "summary $datetime\n"
|
||||||
if $kubeless; then
|
if $kubeless; then
|
||||||
if [[ $* == *"--loadtest"* ]]; then
|
if [[ $* == *"--loadtest"* ]]; then
|
||||||
loadtest -H "Host: $function.kubeless" --rps $rps -c $connection -t $time -p "$function_firendly".body http://$kuberhost/"$function" >./data/"$function"."$connection"."$time"."$datetime".txt
|
loadtest -H "Host: $function.kubeless" --rps $rps -c $connection -t $time -p "$function_firendly".body http://$kuberhost/"$function" >./data/"$function"."$connection"."$time"."$datetime".txt
|
||||||
@ -75,7 +75,7 @@ for function in "${functions[@]}"; do
|
|||||||
fi
|
fi
|
||||||
if [[ $* == *"--for"* ]]; then
|
if [[ $* == *"--for"* ]]; then
|
||||||
for num in 1 2 3 4 5 6 7 8 9 10; do
|
for num in 1 2 3 4 5 6 7 8 9 10; do
|
||||||
echo -e "hey-for $num\n"
|
echo -e "for $num\n"
|
||||||
if $kubeless; then
|
if $kubeless; then
|
||||||
if [[ $* == *"--loadtest"* ]]; then
|
if [[ $* == *"--loadtest"* ]]; then
|
||||||
loadtest -H "Host: $function.kubeless" --rps $rps -c $connection -t $time -p "$function_firendly".body http://$kuberhost/"$function" >./data/"$function"."$num".txt
|
loadtest -H "Host: $function.kubeless" --rps $rps -c $connection -t $time -p "$function_firendly".body http://$kuberhost/"$function" >./data/"$function"."$num".txt
|
||||||
|
Loading…
Reference in New Issue
Block a user