aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/nat/natupnp_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/nat/natupnp_test.go')
-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" +