Commit 3c25cd27 authored by Dmitriy Vyukov's avatar Dmitriy Vyukov

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
parent 018e89fa
......@@ -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)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment