From 61e60c05097d7def8643a5a66bb6bc26229494a7 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Sat, 2 Jul 2016 19:12:23 -0400 Subject: Make timing of test less sensitive. --- test.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test.sh b/test.sh index e14512b..c0668fb 100755 --- a/test.sh +++ b/test.sh @@ -8,12 +8,12 @@ test1() { ./udpastcp client localhost 36563 localhost 64109 & pids="$!" ./udpastcp server localhost 64109 localhost 41465 & - pids+=" $!" - ( ( sleep 0.2; echo BBBBBBBB; ) | socat udp6-listen:41465 - ) & - pids+=" $!" - ( ( sleep 0.1; echo AAAAAAAA; ) | socat - 'udp-connect:[::1]:36563' ) & - pids+=" $!" - sleep 0.3 + pids="$pids $!" + ( ( sleep 0.4; echo BBBBBBBB; ) | socat udp6-listen:41465 - ) & + pids="$pids $!" + ( ( sleep 0.2; echo AAAAAAAA; ) | socat - 'udp-connect:[::1]:36563' ) & + pids="$pids $!" + sleep 0.5 ) } -- cgit v1.2.3-70-g09d2