adding wait after starting node to avoid segfault (#2686)

This commit is contained in:
gabrielmer 2024-05-09 11:31:58 +02:00 committed by GitHub
parent d700006a6a
commit b643f4c4ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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()