1
0
mirror of https://github.com/golang/go synced 2024-11-23 23:00:03 -07:00

net: deflake TestLookupNonLDH

Fixes #17623.

Change-Id: I4717e8399f955c9be7ba19108bb0bcc108187c04
Reviewed-on: https://go-review.googlesource.com/32147
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Mikio Hara 2016-10-28 06:20:44 +09:00
parent a1b6e1692b
commit 69b7fe1a90

View File

@ -722,6 +722,10 @@ func TestLookupNonLDH(t *testing.T) {
if runtime.GOOS == "nacl" {
t.Skip("skip on nacl")
}
if fixup := forceGoDNS(); fixup != nil {
defer fixup()
}
// "LDH" stands for letters, digits, and hyphens and is the usual
// description of standard DNS names.
// This test is checking that other kinds of names are reported