Skip to content

Commit

Permalink
workaround for ooni/probe#2535
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Sep 14, 2023
1 parent f5509a1 commit 20526b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/netxlite/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"net/http"
"net/http/httptest"
"net/url"
"runtime"
"testing"
"time"

Expand Down Expand Up @@ -78,6 +79,9 @@ func TestMeasureWithSystemResolver(t *testing.T) {
// e.g. a domain containing a few random letters
addrs, err := r.LookupHost(ctx, randx.Letters(7)+".ooni.nonexistent")
if err == nil || err.Error() != netxlite.FailureGenericTimeoutError {
if runtime.GOOS == "windows" {
t.Skip("https://github.com/ooni/probe/issues/2535")
}
t.Fatal("not the error we expected", err)
}
if addrs != nil {
Expand Down

0 comments on commit 20526b7

Please sign in to comment.