diff options
author | Carl Shapiro <cshapiro@google.com> | 2013-04-12 15:58:34 -0700 |
---|---|---|
committer | Carl Shapiro <cshapiro@google.com> | 2013-04-12 15:58:34 -0700 |
commit | b41f2d98c52ee667c38dba185d60f9ae14d4910c (patch) | |
tree | 2730a77acb5c9b5f81f9979ebe8a7a487d927a2b /test/chan | |
parent | 834da27ce04bd04a12e52f039781e83e8dd0d7f3 (diff) | |
download | go-b41f2d98c52ee667c38dba185d60f9ae14d4910c.tar.gz |
test: raise the allocation threshold for chan/select2.go failure
Updates issue 5282
R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8718045
Diffstat (limited to 'test/chan')
-rw-r--r-- | test/chan/select2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/chan/select2.go b/test/chan/select2.go index 40bc357b5..4a0813912 100644 --- a/test/chan/select2.go +++ b/test/chan/select2.go @@ -47,7 +47,7 @@ func main() { runtime.GC() runtime.ReadMemStats(memstats) - if memstats.Alloc-alloc > 1e5 { + if memstats.Alloc-alloc > 1.1e5 { println("BUG: too much memory for 100,000 selects:", memstats.Alloc-alloc) } } |