1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:04:41 -07:00

net/http/cgi: increase a flaky test timeout

Fixes 2450, probably.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5540074
This commit is contained in:
Brad Fitzpatrick 2012-01-17 13:14:27 -08:00
parent 3495f39fc4
commit f4ad8c1c5b

View File

@ -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++
}