]> Cypherpunks repositories - gostls13.git/commitdiff
test: disable flaky heapsampling test for now
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 30 Oct 2015 20:33:28 +0000 (13:33 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 30 Oct 2015 20:48:03 +0000 (20:48 +0000)
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>

test/heapsampling.go

index d5ffc7f20218f9f12bf7d2ffc958bd04532ba708..7461a7614532a7bc5db4689128e47393787acf1b 100644 (file)
@@ -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})