Commit 6ee90884 authored by Felix Lange's avatar Felix Lange

p2p/nat: disable UPnP test on windows

parent 38320199
...@@ -21,6 +21,7 @@ import ( ...@@ -21,6 +21,7 @@ import (
"io" "io"
"net" "net"
"net/http" "net/http"
"runtime"
"strings" "strings"
"testing" "testing"
...@@ -28,6 +29,10 @@ import ( ...@@ -28,6 +29,10 @@ import (
) )
func TestUPNP_DDWRT(t *testing.T) { func TestUPNP_DDWRT(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skipf("disabled to avoid firewall prompt")
}
dev := &fakeIGD{ dev := &fakeIGD{
t: t, t: t,
ssdpResp: "HTTP/1.1 200 OK\r\n" + ssdpResp: "HTTP/1.1 200 OK\r\n" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment