We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b32cc commit 750115fCopy full SHA for 750115f
p2p/nat/natupnp_test.go
@@ -21,6 +21,7 @@ import (
21
"io"
22
"net"
23
"net/http"
24
+ "os"
25
"runtime"
26
"strings"
27
"testing"
@@ -162,7 +163,11 @@ func TestUPNP_DDWRT(t *testing.T) {
162
163
// Attempt to discover the fake device.
164
discovered := discoverUPnP()
165
if discovered == nil {
- t.Fatalf("not discovered")
166
+ if os.Getenv("CI") != "" {
167
+ t.Fatalf("not discovered")
168
+ } else {
169
+ t.Skipf("UPnP not discovered (known issue, see https://github.com/ethereum/go-ethereum/issues/21476)")
170
+ }
171
}
172
upnp, _ := discovered.(*upnp)
173
if upnp.service != "IGDv1-IP1" {
0 commit comments