]> Cypherpunks repositories - gostls13.git/commit
runtime/debug: increase threshold on TestSetGCPercent
authorAustin Clements <austin@google.com>
Fri, 21 Apr 2017 19:42:53 +0000 (15:42 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 21 Apr 2017 19:55:14 +0000 (19:55 +0000)
commite516227554a355ed3bb66e433057cab84e92085c
tree9af2f0cce2a5406ef399abf291866ee285a6b02a
parenteaf02e1fc9d5f22415233783c02bb0b687d216ec
runtime/debug: increase threshold on TestSetGCPercent

Currently TestSetGCPercent checks that NextGC is within 10 MB of the
expected value. For some reason it's much noisier on some of the
builders. To get these passing again, raise the threshold to 20 MB.

Change-Id: I14e64025660d782d81ff0421c1eb898f416e11fe
Reviewed-on: https://go-review.googlesource.com/41374
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/debug/garbage_test.go