Skip to content

Commit

Permalink
skip TestProvidesMany, TestPeriodicRefresh, TestFindPeerQuery and Tes…
Browse files Browse the repository at this point in the history
…tFindPeerWithQueryFilter on Windows
  • Loading branch information
galargh committed Jan 14, 2022
1 parent 3f7c675 commit dc316bb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dht_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"errors"
"fmt"
"math/rand"
"runtime"
"sort"
"strings"
"sync"
Expand Down Expand Up @@ -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")
}
Expand Down Expand Up @@ -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")
}
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -1365,6 +1375,10 @@ func testFindPeerQuery(t *testing.T,
leafs, // Number of nodes that might be connected to from the bootstrappers
bootstrapConns int, // Number of bootstrappers each leaf should connect to.
) {
if runtime.GOOS == "windows" {
t.Skip("skipping due to #760")
}

ctx, cancel := context.WithCancel(context.Background())
defer cancel()

Expand Down

0 comments on commit dc316bb

Please sign in to comment.