mirror of
https://github.com/golang/go
synced 2024-11-27 04:11:22 -07:00
net: unskip TestConcurrentPreferGoResolversDial on Windows
Windows resolver uses the Dial function since CL 409234. Change-Id: Id631a84d2b85fc4f8897e413a0a454cf54c00de4 Reviewed-on: https://go-review.googlesource.com/c/go/+/480418 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
This commit is contained in:
parent
75317dee39
commit
99159cda33
@ -1028,10 +1028,10 @@ func (lcr *lookupCustomResolver) dial() func(ctx context.Context, network, addre
|
||||
// TestConcurrentPreferGoResolversDial tests that multiple resolvers with the
|
||||
// PreferGo option used concurrently are all dialed properly.
|
||||
func TestConcurrentPreferGoResolversDial(t *testing.T) {
|
||||
// The windows and plan9 implementation of the resolver does not use
|
||||
// the Dial function.
|
||||
switch runtime.GOOS {
|
||||
case "windows", "plan9":
|
||||
case "plan9":
|
||||
// TODO: plan9 implementation of the resolver uses the Dial function since
|
||||
// https://go.dev/cl/409234, this test could probably be reenabled.
|
||||
t.Skipf("skip on %v", runtime.GOOS)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user