aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/nat/natupnp_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-08-07 03:39:29 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-08-07 03:39:29 +0800
commit698e98d9814605bfea98ba3ad2fe7fda073cb2b1 (patch)
tree729aa720f3b18b9eb901111d1d58c355bc9b744c /p2p/nat/natupnp_test.go
parenta3b8169938953a10ab57282853768c72bebaf0b4 (diff)
parent803096ca0f262be7d03081482777c3e293f5f7ac (diff)
downloadgo-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.tar.gz
go-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.tar.zst
go-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.zip
Merge pull request #1600 from ethereum/fix-tests-windows
Fix tests on windows
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" +