1
0
mirror of https://github.com/golang/go synced 2024-09-24 05:10:13 -06:00

runtime: increase timeout in TestStackGrowth

It looks like maybe on slower builders 4 seconds is not enough.
Trying to get rid of the flaky failures.

TBR=iant
CC=golang-codereviews
https://golang.org/cl/86870044
This commit is contained in:
Russ Cox 2014-04-13 20:19:10 -04:00
parent e9ad3bf0ff
commit 72185093f6

View File

@ -162,7 +162,7 @@ func TestStackGrowth(t *testing.T) {
GC()
select {
case <-done:
case <-time.After(4 * time.Second):
case <-time.After(20 * time.Second):
t.Fatal("finalizer did not run")
}
}()