From f9436b3556397727f413f831442d3c7bc1d56fdf Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Mon, 10 Sep 2018 23:43:17 +0200 Subject: [PATCH] skip DNS tests on windows --- app/dns/server_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/dns/server_test.go b/app/dns/server_test.go index bf31ce54..0b1b0329 100644 --- a/app/dns/server_test.go +++ b/app/dns/server_test.go @@ -1,6 +1,7 @@ package dns_test import ( + "runtime" "testing" "time" @@ -38,6 +39,9 @@ func (*staticHandler) ServeDNS(w dns.ResponseWriter, r *dns.Msg) { } func TestUDPServer(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("doesn't work on Windows due to miekg/dns changes.") + } assert := With(t) port := udp.PickPort() @@ -102,6 +106,9 @@ func TestUDPServer(t *testing.T) { } func TestPrioritizedDomain(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("doesn't work on Windows due to miekg/dns changes.") + } assert := With(t) port := udp.PickPort()