Skip to content

Commit a9214b7

Browse files
committed
test: skip TestProvidesMany when the race detector is enabled
1 parent 6c70c2f commit a9214b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dht_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,9 @@ func TestPeriodicRefresh(t *testing.T) {
893893
}
894894

895895
func TestProvidesMany(t *testing.T) {
896+
if detectrace.WithRace() {
897+
t.Skip("skipping due to race detector max goroutines")
898+
}
896899
ctx, cancel := context.WithCancel(context.Background())
897900
defer cancel()
898901

0 commit comments

Comments
 (0)