From a37f9d8a17cffc6fb79120fad667b0684fd03bc7 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 20 Feb 2017 19:48:28 +0000 Subject: [PATCH] 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 --- src/runtime/pprof/pprof_test.go | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.51.0