mirror of
https://github.com/golang/go
synced 2024-11-11 23:10:23 -07: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:
parent
e9ad3bf0ff
commit
72185093f6
@ -162,7 +162,7 @@ func TestStackGrowth(t *testing.T) {
|
|||||||
GC()
|
GC()
|
||||||
select {
|
select {
|
||||||
case <-done:
|
case <-done:
|
||||||
case <-time.After(4 * time.Second):
|
case <-time.After(20 * time.Second):
|
||||||
t.Fatal("finalizer did not run")
|
t.Fatal("finalizer did not run")
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user