From: Ian Lance Taylor Date: Tue, 14 Jun 2016 22:32:39 +0000 (-0700) Subject: net: don't run TestLookupDotsWithLocalSource in short mode X-Git-Tag: go1.7beta2~9 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=68697a3e82e19fef04c6af4a02340a1aa6e3bcf2;p=gostls13.git net: don't run TestLookupDotsWithLocalSource in short mode Do run it on the builders, though. Fixes #15881. Change-Id: Ie42204d553cb18547ffd6441afc261717bbd9205 Reviewed-on: https://go-review.googlesource.com/24111 Run-TryBot: Ian Lance Taylor Reviewed-by: Mikio Hara TryBot-Result: Gobot Gobot --- diff --git a/src/net/lookup_test.go b/src/net/lookup_test.go index e22d1fbf79..b3aeb85afb 100644 --- a/src/net/lookup_test.go +++ b/src/net/lookup_test.go @@ -453,6 +453,10 @@ func TestLookupDotsWithLocalSource(t *testing.T) { t.Skip("IPv4 is required") } + if testenv.Builder() == "" { + testenv.MustHaveExternalNetwork(t) + } + for i, fn := range []func() func(){forceGoDNS, forceCgoDNS} { fixup := fn() if fixup == nil {