Commit a37f9d8a authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

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 <bradfitz@golang.org>
Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
Reviewed-by: default avatarPeter Weinberger <pjw@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent b9574f46
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment