Skip to content

Commit

Permalink
attempt to fix flaky TestP2pNetwork_MessageValidation
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Aug 7, 2024
1 parent 72d2677 commit 9d8a7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/p2p/p2p_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func TestP2pNetwork_MessageValidation(t *testing.T) {
broadcasters := pool.New().WithErrors().WithContext(ctx)
broadcaster := func(node *VirtualNode, roles ...spectypes.RunnerRole) {
broadcasters.Go(func(ctx context.Context) error {
for i := 0; i < 50; i++ {
for i := 0; i < 30; i++ {
role := roles[i%len(roles)]

mu.Lock()
Expand Down

0 comments on commit 9d8a7f7

Please sign in to comment.