mirror of
https://github.com/golang/go
synced 2024-11-25 06:47:56 -07:00
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
This commit is contained in:
parent
48f598a393
commit
fc7b42325a
@ -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++
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user