]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: fix retry logic introduced by #858cd8d
authorCosmos Nicolaou <cosmos.nicolaou@gmail.com>
Thu, 25 Jan 2024 19:55:38 +0000 (11:55 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 25 Jan 2024 20:51:58 +0000 (20:51 +0000)
commit9312f47d0ac6faa32226450c0bee890cb96fb832
treeef83847fd1109279ba8bd8653e42e0864d0443e1
parent6a861010be9eed02d5285509cbaf3fb26d2c5041
runtime/pprof: fix retry logic introduced by #858cd8d

The previous attempt to fix this flake was incorrect in that it
examined the vmmap output rather than the detailed error
output for the 'resource shortage' message that triggers the
retry, and hence failed to retry. This PR looks at the
detailed error output.

Fixes #62352

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