From 68697a3e82e19fef04c6af4a02340a1aa6e3bcf2 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 14 Jun 2016 15:32:39 -0700 Subject: [PATCH] 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 --- src/net/lookup_test.go | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- 2.50.0