aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2022-02-08 15:24:33 -0500
committerBryan Mills <bcmills@google.com>2022-03-08 22:10:32 +0000
commit4469557974a95b1f4bc1c700aee6779a0f15d22e (patch)
treef9c4f616cd2019f0724ba3786082ea668971144f /src/net/http
parentdbbe4cca5d7069482983316694334bdf2fe6a7ec (diff)
downloadgo-4469557974a95b1f4bc1c700aee6779a0f15d22e.tar.xz
net/http/pprof: skip TestDeltaProfile on all arm and arm64 architectures
Given that we have seen failures with the same failure mode on both openbsd/arm and android/arm64, it seems likely that the underlying bug affects at least all ARM-based architectures. It appears that either these architectures are not able to sample at the frequency expected by the test, or the samples are for some reason being dropped. For #50218 Change-Id: I42a6c8ecda57448f8068e8facb42a4a2cecbbb37 Reviewed-on: https://go-review.googlesource.com/c/go/+/383997 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/pprof/pprof_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/pprof/pprof_test.go b/src/net/http/pprof/pprof_test.go
index 1a4d653a62..f82ad45bf6 100644
--- a/src/net/http/pprof/pprof_test.go
+++ b/src/net/http/pprof/pprof_test.go
@@ -153,7 +153,7 @@ func mutexHog(duration time.Duration, hogger func(mu1, mu2 *sync.Mutex, start ti
}
func TestDeltaProfile(t *testing.T) {
- if runtime.GOOS == "openbsd" && runtime.GOARCH == "arm" {
+ if strings.HasPrefix(runtime.GOARCH, "arm") {
testenv.SkipFlaky(t, 50218)
}