mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
36086e85f8
commit
5113496805
1 changed files with 3 additions and 0 deletions
|
|
@ -2549,6 +2549,9 @@ func TestProfilerStackDepth(t *testing.T) {
|
||||||
|
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
t.Run(test.profiler, func(t *testing.T) {
|
t.Run(test.profiler, func(t *testing.T) {
|
||||||
|
if test.profiler == "heap" {
|
||||||
|
testenv.SkipFlaky(t, 74029)
|
||||||
|
}
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
if err := Lookup(test.profiler).WriteTo(&buf, 0); err != nil {
|
if err := Lookup(test.profiler).WriteTo(&buf, 0); err != nil {
|
||||||
t.Fatalf("failed to write heap profile: %v", err)
|
t.Fatalf("failed to write heap profile: %v", err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue