Skip to content

Commit 4f6630d

Browse files
committed
net/http: disable segfaulting test on darwin/arm
Issue #10043 Change-Id: I6ce7f303cd96ac575f7a673dd4a459339382d22e Reviewed-on: https://go-review.googlesource.com/6692 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 7ff6254 commit 4f6630d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/net/http/transport_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,6 +1788,13 @@ var proxyFromEnvTests = []proxyFromEnvTest{
17881788
}
17891789

17901790
func TestProxyFromEnvironment(t *testing.T) {
1791+
if runtime.GOOS == "darwin" && runtime.GOARCH == "arm" {
1792+
// fmt.Sprintf("%v", (*URL)(nil)) causes a segfault inside the string
1793+
// method, which lldb intercepts on the darwin/arm builder. Until it
1794+
// is fixed, skipping the test.
1795+
t.Skipf("skipping on %s/%s, issue 10043", runtime.GOOS, runtime.GOARCH)
1796+
}
1797+
17911798
ResetProxyEnv()
17921799
for _, tt := range proxyFromEnvTests {
17931800
os.Setenv("HTTP_PROXY", tt.env)

0 commit comments

Comments
 (0)