From c0fa9e3f6ff0c63d063d81c859a7f87a519a4182 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Mon, 20 Apr 2015 15:31:07 -0700 Subject: [PATCH] runtime/pprof: disable flaky TestTraceFutileWakeup on linux/ppc64le Update #10512. Change-Id: Ifdc59c3a5d8aba420b34ae4e37b3c2315dd7c783 Reviewed-on: https://go-review.googlesource.com/9162 Reviewed-by: Dmitry Vyukov --- src/runtime/pprof/trace_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runtime/pprof/trace_test.go b/src/runtime/pprof/trace_test.go index 4f93c494d5..a333a3f83a 100644 --- a/src/runtime/pprof/trace_test.go +++ b/src/runtime/pprof/trace_test.go @@ -371,6 +371,10 @@ func TestTraceFutileWakeup(t *testing.T) { // The test generates a full-load of futile wakeups on channels, // and ensures that the trace is consistent after their removal. skipTraceTestsIfNeeded(t) + if runtime.GOOS == "linux" && runtime.GOARCH == "ppc64le" { + t.Skip("test is unreliable; issue #10512") + } + buf := new(bytes.Buffer) if err := StartTrace(buf); err != nil { t.Fatalf("failed to start tracing: %v", err) -- 2.48.1