Skip to content

Commit

Permalink
p2p/nat: disable UPnP test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Aug 6, 2015
1 parent 3832019 commit 6ee9088
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions p2p/nat/natupnp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,18 @@ import (
"io"
"net"
"net/http"
"runtime"
"strings"
"testing"

"github.com/huin/goupnp/httpu"
)

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" +
Expand Down

0 comments on commit 6ee9088

Please sign in to comment.