p2p/nat: disable UPnP test on windows

This commit is contained in:
Felix Lange 2015-08-06 15:19:40 +01:00
parent 3832019964
commit 6ee908848c

View File

@ -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" +