Skip to content

Commit

Permalink
reduce peer count in TestFuzzManyPeers when running under the race de…
Browse files Browse the repository at this point in the history
…tector
  • Loading branch information
vyzo committed Apr 13, 2019
1 parent 6476c3c commit 6ccee93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/net/mock/mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ func TestLimitedStreams(t *testing.T) {
func TestFuzzManyPeers(t *testing.T) {
peerCount := 50000
if detectrace.WithRace() {
peerCount = 1000
peerCount = 100
}
for i := 0; i < peerCount; i++ {
_, err := FullMeshConnected(context.Background(), 2)
Expand Down

0 comments on commit 6ccee93

Please sign in to comment.