From 0d82f584c223fb045496f3e063bf93416a24e0b0 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Tue, 11 Apr 2023 16:26:53 +0000 Subject: [PATCH] net: allow TestDialListenerAddr without an external network As of CL 482163, this test now works when only a loopback network is available. Updates #59497. Change-Id: I32be4b74bbc663eb109763ea19d79f22c63f50ae Reviewed-on: https://go-review.googlesource.com/c/go/+/483696 Run-TryBot: Bryan Mills Reviewed-by: Ian Lance Taylor TryBot-Bypass: Bryan Mills Auto-Submit: Bryan Mills --- src/net/dial_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/net/dial_test.go b/src/net/dial_test.go index d25a642a0a..57f685e547 100644 --- a/src/net/dial_test.go +++ b/src/net/dial_test.go @@ -883,8 +883,6 @@ func TestCancelAfterDial(t *testing.T) { // if the machine has halfway configured IPv6 such that it can bind on // "::" not connect back to that same address. func TestDialListenerAddr(t *testing.T) { - mustHaveExternalNetwork(t) - if !testableNetwork("tcp4") { t.Skipf("skipping: can't listen on tcp4") } -- 2.48.1