mirror of https://github.com/waku-org/nwaku.git
fix: waku bridge test timing (#1429)
* fix: waku bridge test timing * fix: shorten timing more
This commit is contained in:
parent
696bd6bd6b
commit
08cbe5216a
|
@ -140,12 +140,10 @@ procSuite "WakuBridge":
|
|||
|
||||
v2Node.subscribe(DefaultBridgeTopic, relayHandler)
|
||||
|
||||
await sleepAsync(250.millis)
|
||||
|
||||
# Test bridging from V2 to V1
|
||||
await v2Node.publish(DefaultBridgeTopic, message)
|
||||
|
||||
await sleepAsync(250.millis)
|
||||
await sleepAsync(1.seconds)
|
||||
|
||||
check:
|
||||
# v1Node received message published by v2Node
|
||||
|
@ -174,7 +172,7 @@ procSuite "WakuBridge":
|
|||
|
||||
await v2Node.publish(DefaultBridgeTopic, message)
|
||||
|
||||
await sleepAsync(250.millis)
|
||||
await sleepAsync(1.seconds)
|
||||
|
||||
check:
|
||||
# v1Node did not receive duplicate of previous message
|
||||
|
|
Loading…
Reference in New Issue