From 834a0d6d541faf7d8e8aa8116eaf594746239275 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 6 Mar 2013 14:06:48 +1100 Subject: - (dtucker) [regress/forward-control.sh] Wait longer for the forwarding connection to start so that the test works on slower machines. --- regress/forward-control.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress') diff --git a/regress/forward-control.sh b/regress/forward-control.sh index 806874895..80ddb4167 100644 --- a/regress/forward-control.sh +++ b/regress/forward-control.sh @@ -14,7 +14,7 @@ wait_for_file_to_appear() { while test ! -f $_path ; do test $_n -eq 1 && trace "waiting for $_path to appear" _n=`expr $_n + 1` - test $_n -ge 5 && return 1 + test $_n -ge 20 && return 1 sleep 1 done return 0 @@ -26,7 +26,7 @@ wait_for_process_to_exit() { while kill -0 $_pid 2>/dev/null ; do test $_n -eq 1 && trace "waiting for $_pid to exit" _n=`expr $_n + 1` - test $_n -ge 5 && return 1 + test $_n -ge 20 && return 1 sleep 1 done return 0 -- cgit v1.2.3