1
0
mirror of https://github.com/golang/go synced 2024-11-23 20:50:04 -07:00

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 <dvyukov@google.com>
This commit is contained in:
Matthew Dempsky 2015-04-20 15:31:07 -07:00 committed by Dmitry Vyukov
parent 0f6a3ba420
commit c0fa9e3f6f

View File

@ -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)