aboutsummaryrefslogtreecommitdiff
path: root/test/heapsampling.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2015-10-30 13:33:28 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2015-10-30 20:48:03 +0000
commit7c167f270826039590af43360b9fb9b2890fe13d (patch)
tree620783b758096211d7d1f5a3fd996ecbba64ecda /test/heapsampling.go
parent8e7a3ea11ec1a3bf8455cdde251a54e9baac1dda (diff)
downloadgo-7c167f270826039590af43360b9fb9b2890fe13d.tar.gz
go-7c167f270826039590af43360b9fb9b2890fe13d.zip
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 <bradfitz@golang.org> Reviewed-by: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'test/heapsampling.go')
-rw-r--r--test/heapsampling.go2
1 files changed, 2 insertions, 0 deletions
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})