mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-03-16 22:13:38 +00:00
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)
|
v2Node.subscribe(DefaultBridgeTopic, relayHandler)
|
||||||
|
|
||||||
await sleepAsync(250.millis)
|
|
||||||
|
|
||||||
# Test bridging from V2 to V1
|
# Test bridging from V2 to V1
|
||||||
await v2Node.publish(DefaultBridgeTopic, message)
|
await v2Node.publish(DefaultBridgeTopic, message)
|
||||||
|
|
||||||
await sleepAsync(250.millis)
|
await sleepAsync(1.seconds)
|
||||||
|
|
||||||
check:
|
check:
|
||||||
# v1Node received message published by v2Node
|
# v1Node received message published by v2Node
|
||||||
@ -174,7 +172,7 @@ procSuite "WakuBridge":
|
|||||||
|
|
||||||
await v2Node.publish(DefaultBridgeTopic, message)
|
await v2Node.publish(DefaultBridgeTopic, message)
|
||||||
|
|
||||||
await sleepAsync(250.millis)
|
await sleepAsync(1.seconds)
|
||||||
|
|
||||||
check:
|
check:
|
||||||
# v1Node did not receive duplicate of previous message
|
# v1Node did not receive duplicate of previous message
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user