From 51134968050270a08d6a2456d0ea72c8a99b6e96 Mon Sep 17 00:00:00 2001 From: matloob Date: Wed, 15 Oct 2025 11:23:59 -0400 Subject: [PATCH] runtime/pprof: skip flaky test TestProfilerStackDepth/heap for now The test has been causing a lot of flakes on the builders. Skip it while I'm debugging it. For #74029 Change-Id: I6a6a696450c23f65bc310a2d0ab61b22dba88f00 Reviewed-on: https://go-review.googlesource.com/c/go/+/712060 TryBot-Bypass: Michael Matloob Reviewed-by: Michael Matloob Reviewed-by: Michael Knyszek --- src/runtime/pprof/pprof_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go index 6e6f4313a8..23d3cf585e 100644 --- a/src/runtime/pprof/pprof_test.go +++ b/src/runtime/pprof/pprof_test.go @@ -2549,6 +2549,9 @@ func TestProfilerStackDepth(t *testing.T) { for _, test := range tests { t.Run(test.profiler, func(t *testing.T) { + if test.profiler == "heap" { + testenv.SkipFlaky(t, 74029) + } var buf bytes.Buffer if err := Lookup(test.profiler).WriteTo(&buf, 0); err != nil { t.Fatalf("failed to write heap profile: %v", err) -- 2.52.0