From 8d213e85a6f43383231e973f7befab1ff800eb0a Mon Sep 17 00:00:00 2001 From: Alvaro Revuelta Date: Mon, 17 Apr 2023 14:30:11 +0200 Subject: [PATCH] chore: fix test failing intermittently (#1679) --- tests/v2/waku_relay/test_wakunode_relay.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/v2/waku_relay/test_wakunode_relay.nim b/tests/v2/waku_relay/test_wakunode_relay.nim index a8307cb3f1..8dc08446ff 100644 --- a/tests/v2/waku_relay/test_wakunode_relay.nim +++ b/tests/v2/waku_relay/test_wakunode_relay.nim @@ -302,7 +302,7 @@ suite "WakuNode - Relay": await nodes[i].publish(spamProtectedTopic, msg) # Wait for gossip - await sleepAsync(500.millis) + await sleepAsync(1.seconds) # 50 messages were sent to 5 peers = 250 messages check: @@ -379,7 +379,7 @@ suite "WakuNode - Relay": await nodes[i].publish(spamProtectedTopic, unsignedMessage) # Wait for gossip - await sleepAsync(500.millis) + await sleepAsync(1.seconds) # Since we have a full mesh with 5 nodes and each one publishes 50+50 msgs # there are 500 messages being sent. @@ -462,7 +462,7 @@ suite "WakuNode - Relay": await nodes[0].publish(spamProtectedTopic, msg) # Wait for gossip - await sleepAsync(500.millis) + await sleepAsync(1.seconds) # only 100 messages are received (50 + 50) which demonstrate # nodes[1] doest gossip invalid messages.