mirror of
https://github.com/golang/go
synced 2024-11-11 19:51:37 -07:00
test: raise the allocation threshold for chan/select2.go failure
Updates #5282 R=golang-dev, r CC=golang-dev https://golang.org/cl/8718045
This commit is contained in:
parent
18ff727487
commit
14cb1a1da9
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user