mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 16:33:08 +00:00
adding wait after starting node to avoid segfault (#2686)
This commit is contained in:
parent
d700006a6a
commit
b643f4c4ae
@ -89,6 +89,7 @@ suite "Waku Store - End to End - Sorted Archive":
|
|||||||
client.mountStoreClient()
|
client.mountStoreClient()
|
||||||
|
|
||||||
waitFor allFutures(server.start(), client.start())
|
waitFor allFutures(server.start(), client.start())
|
||||||
|
await sleepAsync(chronos.milliseconds(500))
|
||||||
|
|
||||||
serverRemotePeerInfo = server.peerInfo.toRemotePeerInfo()
|
serverRemotePeerInfo = server.peerInfo.toRemotePeerInfo()
|
||||||
clientPeerId = client.peerInfo.toRemotePeerInfo().peerId
|
clientPeerId = client.peerInfo.toRemotePeerInfo().peerId
|
||||||
@ -955,6 +956,7 @@ suite "Waku Store - End to End - Archive with Multiple Topics":
|
|||||||
client.mountStoreClient()
|
client.mountStoreClient()
|
||||||
|
|
||||||
waitFor allFutures(server.start(), client.start())
|
waitFor allFutures(server.start(), client.start())
|
||||||
|
await sleepAsync(chronos.milliseconds(500))
|
||||||
|
|
||||||
serverRemotePeerInfo = server.peerInfo.toRemotePeerInfo()
|
serverRemotePeerInfo = server.peerInfo.toRemotePeerInfo()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user