[PATCH 1/9] git p4 test: wait longer for p4d to start
- From
- Pete Wyckoff <pw@padd.com>
- Date
- Jun 26, 2012, 01:18 UTC
- Message-ID
- <1340673505-10551-2-git-send-email-pw@padd.com>
- In-Reply-To
- <1340673505-10551-1-git-send-email-pw@padd.com>
Running tests at high parallelism on a slow machine, 5 sec is not enough to wait for p4d to start. Change it to 10 sec.
Signed-off-by: Pete Wyckoff <pw@padd.com> --- t/lib-git-p4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/lib-git-p4.sh b/t/lib-git-p4.sh index 121e380..0080eae 100644 --- a/t/lib-git-p4.sh +++ b/t/lib-git-p4.sh @@ -37,7 +37,7 @@ start_p4d() { p4d -q -r "$db" -p $P4DPORT & echo $! >"$pidfile" ) && - for i in 1 2 3 4 5 ; do + for i in 1 2 3 4 5 6 7 8 9 10 ; do p4 info >/dev/null 2>&1 && break || true && echo waiting for p4d to start && sleep 1
-- 1.7.11.rc2.72.gebb7ee5