fix lpd "no post data" issue

master
Emil 4 years ago
parent 9d0abbeb64
commit 86783804a5

@ -11,6 +11,7 @@ source framework.sh || exit 1
source get_result_count.sh || exit 1
source panic.sh || exit 1
source path_join.sh || exit 1
source validate_dependencies.sh || exit 1
# TODO: Excluding gocr because of difficulty used gocr with hey
# Please keep the element ordered alphabetically!

@ -115,7 +115,8 @@ run_experiments() {
((batch_id++))
for workload in "${workloads[@]}"; do
if ((roll >= floor[$workload] && roll < floor[$workload] + length[$workload])); then
hey -disable-compression -disable-keepalive -disable-redirects -n $batch_size -c 1 -cpus 1 -t 0 -o csv -m GET ${body[$workload]} "http://${hostname}:${port[$workload]}" > /dev/null 2> /dev/null &
workload_class=$(echo "$workload"| cut -d'_' -f 1)
hey -disable-compression -disable-keepalive -disable-redirects -n $batch_size -c 1 -cpus 1 -t 0 -o csv -m GET ${body[$workload_class]} "http://${hostname}:${port[$workload]}" > /dev/null 2> /dev/null &
break
fi
done

Loading…
Cancel
Save