From 1f3d6f96b5bb1ec59fed27d4048166187fc62d41 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 21 Oct 2021 04:51:39 +0200 Subject: test/lib/test: Wait a bit longer before terminating iperf3 processes Sometimes tests run a few seconds longer than expected, wait a few more seconds. Signed-off-by: Stefano Brivio --- test/lib/test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/lib/test b/test/lib/test index 2e3f4ba..682e0c7 100755 --- a/test/lib/test +++ b/test/lib/test @@ -43,7 +43,7 @@ test_iperf3() { pane_run "${__pane}" 'for i in $(seq 0 '${__procs}');' \ 'do ( iperf3 -c '"${__dest}"' -p '"${__port}" \ "${@}" ' -T s${i} & echo $! > c${i}.pid & ); done' - sleep 36 + sleep 40 pane_run "${__pane}" 'for i in $(seq 0 '${__procs}'); do'\ 'kill -INT $(cat c${i}.pid) 2>/dev/null; done' ) & @@ -71,10 +71,10 @@ test_iperf3() { fi pane_wait "${__pane}" - sleep 38 + sleep 45 pane_run "${__pane}" 'for i in $(seq 0 '${__procs}'); do' \ 'kill -INT $(cat s${i}.pid) 2>/dev/null; done' - sleep 1 + sleep 4 pane_wait "${__pane}" pane_run "${__pane}" '(cat s*.bw |' \ 'sed '"'"'s/\(.*\)/\1\+/g'"'"' |' \ -- cgit v1.2.3