From: Carl Shapiro Date: Fri, 12 Apr 2013 22:58:34 +0000 (-0700) Subject: test: raise the allocation threshold for chan/select2.go failure X-Git-Tag: go1.1rc2~106 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=14cb1a1da98bbecaf64c8393138b845ce5562c23;p=gostls13.git test: raise the allocation threshold for chan/select2.go failure Updates #5282 R=golang-dev, r CC=golang-dev https://golang.org/cl/8718045 --- diff --git a/test/chan/select2.go b/test/chan/select2.go index 40bc357b5d..4a08139126 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) } }