aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authormatloob <matloob@golang.org>2025-10-15 11:23:59 -0400
committerMichael Matloob <matloob@google.com>2025-10-15 08:32:21 -0700
commit51134968050270a08d6a2456d0ea72c8a99b6e96 (patch)
treec9303f5e5f38edbae7dd2e78bf875233c6f58e5d /src/runtime
parent36086e85f842e8ed2c03be2542a6cc211603abbc (diff)
downloadgo-51134968050270a08d6a2456d0ea72c8a99b6e96.tar.xz
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>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/pprof/pprof_test.go3
1 files changed, 3 insertions, 0 deletions
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)