Commit cf48858f authored by Andreas Schmidt's avatar Andreas Schmidt

Make sure sender runs after receiver.

parent 877b1bdf
Pipeline #2760 passed with stages
in 4 minutes and 12 seconds
......@@ -71,6 +71,7 @@ echo "Traceroute done."
iperf3 --version
if [[ "$command" == "sender" || "$command" == "time-sender" ]]; then
sleep 5
iperf3 -c $TARGET
else
iperf3 -s -1
......@@ -78,6 +79,7 @@ fi
echo "iperf3 for TCP done."
if [[ "$command" == "sender" || "$command" == "time-sender" ]]; then
sleep 5
iperf3 -u -c $TARGET
else
iperf3 -s -1
......@@ -86,6 +88,10 @@ echo "iperf3 for UDP done."
sleep 5
if [[ "$command" == "sender" || "$command" == "time-sender" ]]; then
sleep 5
fi
echo "Running PRRT with command: \"$command $PRRT_PARAMS\" and link parameters: \"$NETEM_PARAMS\""
tc qdisc add dev $dev root netem $NETEM_PARAMS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment