From 72185093f669eab9b07523bded3d186b4bb4321d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 13 Apr 2014 20:19:10 -0400 Subject: [PATCH] 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 --- src/pkg/runtime/stack_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/stack_test.go b/src/pkg/runtime/stack_test.go index 9a69704368..f3fba6a31c 100644 --- a/src/pkg/runtime/stack_test.go +++ b/src/pkg/runtime/stack_test.go @@ -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") } }() -- 2.50.0