Skip to content

Commit d93677a

Browse files
author
Bryan C. Mills
committed
net/http/pprof: skip TestDeltaProfile on openbsd/arm
It is observed to be flaky on the only openbsd/arm builder. Skipping on that platform until someone can investigate. For #50218 Change-Id: Id3a6dc12b93b3cec67870d8d81bd608c4589c952 Reviewed-on: https://go-review.googlesource.com/c/go/+/372794 Trust: Bryan Mills <[email protected]> Run-TryBot: Bryan Mills <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent ae695cd commit d93677a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/net/http/pprof/pprof_test.go

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"bytes"
99
"fmt"
1010
"internal/profile"
11+
"internal/testenv"
1112
"io"
1213
"net/http"
1314
"net/http/httptest"
@@ -152,6 +153,10 @@ func mutexHog(duration time.Duration, hogger func(mu1, mu2 *sync.Mutex, start ti
152153
}
153154

154155
func TestDeltaProfile(t *testing.T) {
156+
if runtime.GOOS == "openbsd" && runtime.GOARCH == "arm" {
157+
testenv.SkipFlaky(t, 50218)
158+
}
159+
155160
rate := runtime.SetMutexProfileFraction(1)
156161
defer func() {
157162
runtime.SetMutexProfileFraction(rate)

0 commit comments

Comments
 (0)