diff options
author | Ian Lance Taylor <iant@golang.org> | 2016-06-14 15:32:39 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2016-06-14 22:50:09 +0000 |
commit | 68697a3e82e19fef04c6af4a02340a1aa6e3bcf2 (patch) | |
tree | 423559e9ba5089fd9fb8b6202be623551f92f150 | |
parent | 9208ed322459809cf26f65485d0e6d248dadb830 (diff) | |
download | go-68697a3e82e19fef04c6af4a02340a1aa6e3bcf2.tar.gz go-68697a3e82e19fef04c6af4a02340a1aa6e3bcf2.zip |
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 <iant@golang.org>
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r-- | src/net/lookup_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 { |