aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-08-06 22:19:40 +0800
committerFelix Lange <fjl@twurst.com>2015-08-06 23:18:59 +0800
commit6ee908848cef9ec82e4d20e1bb79063de5500207 (patch)
tree63fbbd99e393b46d71dd17c5f4d73b4c3caf43b6
parent383201996463ddb91aa754f81d00d472e3436380 (diff)
downloaddexon-6ee908848cef9ec82e4d20e1bb79063de5500207.tar
dexon-6ee908848cef9ec82e4d20e1bb79063de5500207.tar.gz
dexon-6ee908848cef9ec82e4d20e1bb79063de5500207.tar.bz2
dexon-6ee908848cef9ec82e4d20e1bb79063de5500207.tar.lz
dexon-6ee908848cef9ec82e4d20e1bb79063de5500207.tar.xz
dexon-6ee908848cef9ec82e4d20e1bb79063de5500207.tar.zst
dexon-6ee908848cef9ec82e4d20e1bb79063de5500207.zip
p2p/nat: disable UPnP test on windows
-rw-r--r--p2p/nat/natupnp_test.go5
1 files changed, 5 insertions, 0 deletions
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" +