From f4ad8c1c5b8ec6c271a206a3ec74d57b03b7e0e6 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 17 Jan 2012 13:14:27 -0800 Subject: [PATCH] net/http/cgi: increase a flaky test timeout Fixes 2450, probably. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5540074 --- src/pkg/net/http/cgi/host_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/net/http/cgi/host_test.go b/src/pkg/net/http/cgi/host_test.go index 9a8d3c0118..9ef80ea5ec 100644 --- a/src/pkg/net/http/cgi/host_test.go +++ b/src/pkg/net/http/cgi/host_test.go @@ -364,7 +364,7 @@ func TestCopyError(t *testing.T) { conn.Close() tries := 0 - for tries < 15 && childRunning() { + for tries < 25 && childRunning() { time.Sleep(50 * time.Millisecond * time.Duration(tries)) tries++ } -- 2.50.0