From: Brad Fitzpatrick Date: Fri, 30 Oct 2015 20:33:28 +0000 (-0700) Subject: test: disable flaky heapsampling test for now X-Git-Tag: go1.6beta1~668 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7c167f270826039590af43360b9fb9b2890fe13d;p=gostls13.git test: disable flaky heapsampling test for now Flaky tests do more harm than good. Updates #13098 Change-Id: I179ed810b49bbb96c8df462bfa20b70231b26772 Reviewed-on: https://go-review.googlesource.com/16521 Run-TryBot: Brad Fitzpatrick Reviewed-by: Austin Clements TryBot-Result: Gobot Gobot --- diff --git a/test/heapsampling.go b/test/heapsampling.go index d5ffc7f202..7461a76145 100644 --- a/test/heapsampling.go +++ b/test/heapsampling.go @@ -25,6 +25,8 @@ var a64k *[64 * 1024]byte // vary for run to run. This test only checks that the resulting // values appear reasonable. func main() { + return // TODO: fix this flaky test; golang.org/issue/13098 + const countInterleaved = 10000 allocInterleaved(countInterleaved) checkAllocations(getMemProfileRecords(), "main.allocInterleaved", countInterleaved, []int64{256 * 1024, 1024, 256 * 1024, 512, 256 * 1024, 256})