]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: skip flaky test TestProfilerStackDepth/heap for now
authormatloob <matloob@golang.org>
Wed, 15 Oct 2025 15:23:59 +0000 (11:23 -0400)
committerMichael Matloob <matloob@google.com>
Wed, 15 Oct 2025 15:32:21 +0000 (08:32 -0700)
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>
src/runtime/pprof/pprof_test.go

index 6e6f4313a83dfa068f055b26c11f23af40c7467f..23d3cf585e59f1ef95075f0724fa89774531f492 100644 (file)
@@ -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)