mirror of https://github.com/waku-org/nwaku.git
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()
|
||||
|
||||
waitFor allFutures(server.start(), client.start())
|
||||
await sleepAsync(chronos.milliseconds(500))
|
||||
|
||||
serverRemotePeerInfo = server.peerInfo.toRemotePeerInfo()
|
||||
clientPeerId = client.peerInfo.toRemotePeerInfo().peerId
|
||||
|
@ -955,6 +956,7 @@ suite "Waku Store - End to End - Archive with Multiple Topics":
|
|||
client.mountStoreClient()
|
||||
|
||||
waitFor allFutures(server.start(), client.start())
|
||||
await sleepAsync(chronos.milliseconds(500))
|
||||
|
||||
serverRemotePeerInfo = server.peerInfo.toRemotePeerInfo()
|
||||
|
||||
|
|
Loading…
Reference in New Issue