aboutsummaryrefslogtreecommitdiff
path: root/test/chan
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2013-04-12 15:58:34 -0700
committerCarl Shapiro <cshapiro@google.com>2013-04-12 15:58:34 -0700
commit14cb1a1da98bbecaf64c8393138b845ce5562c23 (patch)
tree5a1dcabbb49e945978c284ce927c9629a030e31f /test/chan
parent18ff727487422d73c8dd609d229c3dda7539d9a9 (diff)
downloadgo-14cb1a1da98bbecaf64c8393138b845ce5562c23.tar.gz
go-14cb1a1da98bbecaf64c8393138b845ce5562c23.zip
test: raise the allocation threshold for chan/select2.go failure
Updates #5282 R=golang-dev, r CC=golang-dev https://golang.org/cl/8718045
Diffstat (limited to 'test/chan')
-rw-r--r--test/chan/select2.go2
1 files changed, 1 insertions, 1 deletions
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)
}
}