Skip to content

Commit

Permalink
decreasing sleeping interval
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer committed Feb 9, 2024
1 parent 55a3e18 commit a822948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/wakunode2/test_validators.nim
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ suite "WakuNode2 - Validators":
var msgRejected = 0

# Active wait for the messages to be delivered across the mesh
for i in 0..<10:
for i in 0..<100:
msgRejected = 0
for i in 0..<5:
for k, v in nodes[i].wakuRelay.peerStats.mpairs:
Expand All @@ -204,7 +204,7 @@ suite "WakuNode2 - Validators":
if msgReceived == 125 and msgRejected == 500:
break
else:
await sleepAsync(1.seconds)
await sleepAsync(100.milliseconds)

check:
msgReceived == 125
Expand Down

0 comments on commit a822948

Please sign in to comment.