]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: test for Darwin flake in TestVMInfo
authorDavid Chase <drchase@google.com>
Mon, 15 Apr 2024 21:53:14 +0000 (17:53 -0400)
committerDavid Chase <drchase@google.com>
Tue, 16 Apr 2024 19:59:50 +0000 (19:59 +0000)
commit07496729c58dd58316b01c8bb81aa21a925ae006
treefb7632452e9bb6cb153d0601dd923f78abeb06b2
parent330bc950933edad89abf6d1eedbfea378cf9fdf6
runtime/pprof: test for Darwin flake in TestVMInfo

If it contains
"No process corpse slots currently available, waiting to get one"
skip the test in short mode, so that run.bash works reliably
on developer laptops, but the flake is still recorded on builders.

The problem also seems to get better after a laptop reboot?

Updates #62352.

Change-Id: I12e8f594f0b830bacda5d8bfa594782345764c4a
Reviewed-on: https://go-review.googlesource.com/c/go/+/579295
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/pprof/vminfo_darwin_test.go