From: Brad Fitzpatrick Date: Mon, 20 Feb 2017 19:48:28 +0000 (+0000) Subject: runtime/pprof: mark TestMutexProfile as flaky for now X-Git-Tag: go1.9beta1~1497 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a37f9d8a17cffc6fb79120fad667b0684fd03bc7;p=gostls13.git runtime/pprof: mark TestMutexProfile as flaky for now Flaky tests hurt productivity. Disable for now. Updates #19139 Change-Id: I2e3040bdf0e53597a1c4f925b788e3268ea284c1 Reviewed-on: https://go-review.googlesource.com/37291 Run-TryBot: Brad Fitzpatrick Reviewed-by: Ian Lance Taylor Reviewed-by: Peter Weinberger TryBot-Result: Gobot Gobot --- diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go index 287a9b95c4..00608c7354 100644 --- a/src/runtime/pprof/pprof_test.go +++ b/src/runtime/pprof/pprof_test.go @@ -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 {