[PATCH 1/9] git p4 test: wait longer for p4d to start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]