Skip to content

Commit 06b0a65

Browse files
heschigopherbot
authored andcommitted
net: skip TestDialCancel on darwin-arm64
We're turning up Macs in a network environment that clashes with this test. I don't think it's critical to get it working, so skip it. For #49149. Change-Id: I925e3ecc5356c4cefd208bdcff3d98021215d0b4 Reviewed-on: https://go-review.googlesource.com/c/go/+/402181 Reviewed-by: Alex Rakoczy <[email protected]> Run-TryBot: Heschi Kreinick <[email protected]> Auto-Submit: Heschi Kreinick <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent e357634 commit 06b0a65

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/net/dial_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,12 @@ func TestDialerKeepAlive(t *testing.T) {
758758
func TestDialCancel(t *testing.T) {
759759
mustHaveExternalNetwork(t)
760760

761+
if strings.HasPrefix(testenv.Builder(), "darwin-arm64") {
762+
// The darwin-arm64 machines run in an environment that's not
763+
// compatible with this test.
764+
t.Skipf("builder %q gives no route to host for 198.18.0.0", testenv.Builder())
765+
}
766+
761767
blackholeIPPort := JoinHostPort(slowDst4, "1234")
762768
if !supportsIPv4() {
763769
blackholeIPPort = JoinHostPort(slowDst6, "1234")

0 commit comments

Comments
 (0)