]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: mark TestMutexProfile as flaky for now
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 20 Feb 2017 19:48:28 +0000 (19:48 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 20 Feb 2017 20:17:16 +0000 (20:17 +0000)
Flaky tests hurt productivity. Disable for now.

Updates #19139

Change-Id: I2e3040bdf0e53597a1c4f925b788e3268ea284c1
Reviewed-on: https://go-review.googlesource.com/37291
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Peter Weinberger <pjw@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/runtime/pprof/pprof_test.go

index 287a9b95c4f889064098477d90aafc9175f75f19..00608c7354cbc5220143627ae01426e8de300bb6 100644 (file)
@@ -511,6 +511,7 @@ func blockCond() {
 }
 
 func TestMutexProfile(t *testing.T) {
+       testenv.SkipFlaky(t, 19139)
        old := runtime.SetMutexProfileFraction(1)
        defer runtime.SetMutexProfileFraction(old)
        if old != 0 {