diff options
author | Russ Cox <rsc@golang.org> | 2021-02-19 17:01:35 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2021-02-20 00:54:44 +0000 |
commit | a8942d2cffd80c68febe1c908a0eb464d2f5bb40 (patch) | |
tree | 485f2666224a8e8ef249667e1fd63ec514cf26c5 /src/runtime/pprof | |
parent | 078f08f0ee1eb6cb172fc1f9d53f34c5783e522d (diff) | |
download | go-a8942d2cffd80c68febe1c908a0eb464d2f5bb40.tar.gz go-a8942d2cffd80c68febe1c908a0eb464d2f5bb40.zip |
runtime/pprof: disable TestMorestack on darwin/arm64
Something is weird about darwin and TestMorestack,
but it is only manifesting on arm64 and race+amd64.
Disable for now.
Change-Id: I5862372fdd0b5ffae802fdefb65b2aa04e266fcc
Reviewed-on: https://go-review.googlesource.com/c/go/+/294409
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/runtime/pprof')
-rw-r--r-- | src/runtime/pprof/pprof_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go index 168c1d4496..14321b0934 100644 --- a/src/runtime/pprof/pprof_test.go +++ b/src/runtime/pprof/pprof_test.go @@ -591,6 +591,11 @@ func TestMorestack(t *testing.T) { // https://build.golang.org/log/280d387327806e17c8aabeb38b9503dbbd942ed1 t.Skip("skipping on darwin race detector") } + if runtime.GOOS == "darwin" && runtime.GOARCH == "arm64" { + // For whatever reason, darwin/arm64 also doesn't work. + // https://build.golang.org/log/c45e82cc25f152642e6fb90d882ef5a8cd130ce5 + t.Skip("skipping on darwin/arm64") + } testCPUProfile(t, stackContainsAll, []string{"runtime.newstack,runtime/pprof.growstack"}, avoidFunctions(), func(duration time.Duration) { t := time.After(duration) c := make(chan bool) |