From dca9f7eebec4bfe1159afec95bfbf7776d6e9480 Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Mon, 5 May 2025 11:27:28 -0500 Subject: [PATCH] Improve warning message for iperf3 timeout to include elapsed time --- runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtest.sh b/runtest.sh index 73cfbc6..5ead78d 100755 --- a/runtest.sh +++ b/runtest.sh @@ -111,7 +111,7 @@ run_iperf() { log "Running iperf3 $mode $direction to $target..." SECONDS=0 if ! timeout "${timeout_duration}s" iperf3 "${args[@]}" >"$tmp_json" 2>"$tmp_err"; then - warn "iperf3 $mode $direction to $target failed or timed out" + warn "iperf3 $mode $direction to $target failed or timed out after $SECONDS" echo "0" return fi