mirror of
https://github.com/golang/go
synced 2024-11-18 15:54:42 -07:00
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: Ian Lance Taylor <iant@golang.org> Reviewed-by: Peter Weinberger <pjw@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
b9574f46f9
commit
a37f9d8a17
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user