Skip to content

Commit 5113496

Browse files
committed
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 <matloob@google.com> Reviewed-by: Michael Matloob <matloob@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
1 parent 36086e8 commit 5113496

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/runtime/pprof/pprof_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,6 +2549,9 @@ func TestProfilerStackDepth(t *testing.T) {
25492549

25502550
for _, test := range tests {
25512551
t.Run(test.profiler, func(t *testing.T) {
2552+
if test.profiler == "heap" {
2553+
testenv.SkipFlaky(t, 74029)
2554+
}
25522555
var buf bytes.Buffer
25532556
if err := Lookup(test.profiler).WriteTo(&buf, 0); err != nil {
25542557
t.Fatalf("failed to write heap profile: %v", err)

0 commit comments

Comments
 (0)