aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/http
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2011-07-14 17:00:14 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2011-07-14 17:00:14 -0700
commitfc7b42325ac25240918d9572b69e4223199eec4a (patch)
tree49e1ffcaf01600a52fb815cd334510420468a0d6 /src/pkg/http
parent48f598a393ddb1c48cd10015f1c024ca79a67d6a (diff)
downloadgo-fc7b42325ac25240918d9572b69e4223199eec4a.tar.xz
cgi: make test less flaky
Previously, during the anti-zombie test, a CGI process had to finish within ~625ms. Now it gets ~5.6 seconds. R=golang-dev, r CC=golang-dev https://golang.org/cl/4741041
Diffstat (limited to 'src/pkg/http')
-rw-r--r--src/pkg/http/cgi/host_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/http/cgi/host_test.go b/src/pkg/http/cgi/host_test.go
index 98a7ce5f26..1dc3abdbb3 100644
--- a/src/pkg/http/cgi/host_test.go
+++ b/src/pkg/http/cgi/host_test.go
@@ -364,7 +364,7 @@ func TestCopyError(t *testing.T) {
conn.Close()
if tries := 0; childRunning() {
- for tries < 5 && childRunning() {
+ for tries < 15 && childRunning() {
time.Sleep(50e6 * int64(tries))
tries++
}