diff --git a/src/net/tcpsock_unix_test.go b/src/net/tcpsock_unix_test.go index 95c02d2721..8d8960eb10 100644 --- a/src/net/tcpsock_unix_test.go +++ b/src/net/tcpsock_unix_test.go @@ -87,6 +87,11 @@ func TestTCPSpuriousConnSetupCompletionWithCancel(t *testing.T) { if testenv.Builder() == "" { testenv.MustHaveExternalNetwork(t) } + + if runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") { + t.Skip("the iOS limit of 250 open file descriptors is too low") + } + defer dnsWaitGroup.Wait() t.Parallel() const tries = 10000