diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2013-01-24 20:26:08 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2013-01-24 20:26:08 +0400 |
| commit | 3c25cd27844fb3baf69db81199fbef4a9f9834c6 (patch) | |
| tree | 66e0cfb0e3684623ae2b1437ae9e45d2a6239bdc /src/pkg/runtime/stack_test.go | |
| parent | 018e89fa697a2c687b83de36e7ae5dcaff6ade49 (diff) | |
| download | go-3c25cd27844fb3baf69db81199fbef4a9f9834c6.tar.xz | |
runtime: increase stack limit in a test
Otherwise the test is flaky.
Fixes #4698.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/7133071
Diffstat (limited to 'src/pkg/runtime/stack_test.go')
| -rw-r--r-- | src/pkg/runtime/stack_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/stack_test.go b/src/pkg/runtime/stack_test.go index f04bddc764..759f7c46ed 100644 --- a/src/pkg/runtime/stack_test.go +++ b/src/pkg/runtime/stack_test.go @@ -1571,7 +1571,7 @@ func TestStackMem(t *testing.T) { if consumed > estimate { t.Fatalf("Stack mem: want %v, got %v", estimate, consumed) } - if s1.StackInuse > 1<<20 { - t.Fatalf("Stack inuse: want %v, got %v", 1<<20, s1.StackInuse) + if s1.StackInuse > 4<<20 { + t.Fatalf("Stack inuse: want %v, got %v", 4<<20, s1.StackInuse) } } |
