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) } }