From 6ee908848cef9ec82e4d20e1bb79063de5500207 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 6 Aug 2015 15:19:40 +0100 Subject: p2p/nat: disable UPnP test on windows --- p2p/nat/natupnp_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'p2p') diff --git a/p2p/nat/natupnp_test.go b/p2p/nat/natupnp_test.go index c1e322af7..79f6d25ae 100644 --- a/p2p/nat/natupnp_test.go +++ b/p2p/nat/natupnp_test.go @@ -21,6 +21,7 @@ import ( "io" "net" "net/http" + "runtime" "strings" "testing" @@ -28,6 +29,10 @@ import ( ) func TestUPNP_DDWRT(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skipf("disabled to avoid firewall prompt") + } + dev := &fakeIGD{ t: t, ssdpResp: "HTTP/1.1 200 OK\r\n" + -- cgit