diff --git a/dht_test.go b/dht_test.go index 9962c3754..22b187cae 100644 --- a/dht_test.go +++ b/dht_test.go @@ -7,6 +7,7 @@ import ( "errors" "fmt" "math/rand" + "runtime" "sort" "strings" "sync" @@ -797,6 +798,9 @@ func TestPeriodicRefresh(t *testing.T) { if testing.Short() { t.SkipNow() } + if runtime.GOOS == "windows" { + t.Skip("skipping due to #760") + } if detectrace.WithRace() { t.Skip("skipping due to race detector max goroutines") } @@ -858,6 +862,9 @@ func TestPeriodicRefresh(t *testing.T) { } func TestProvidesMany(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("skipping due to #760") + } if detectrace.WithRace() { t.Skip("skipping due to race detector max goroutines") } @@ -1116,6 +1123,9 @@ func TestFindPeerWithQueryFilter(t *testing.T) { if testing.Short() { t.SkipNow() } + if runtime.GOOS == "windows" { + t.Skip("skipping due to #760") + } ctx, cancel := context.WithCancel(context.Background()) defer cancel() @@ -1349,6 +1359,9 @@ func TestFindPeerQueryMinimal(t *testing.T) { } func TestFindPeerQuery(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("skipping due to #760") + } if detectrace.WithRace() { t.Skip("skipping due to race detector max goroutines") }