mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-20 18:00:04 +00:00
Fix timeout variable naming
This commit is contained in:
parent
b32badfe9a
commit
cba704d45d
@ -106,7 +106,7 @@ suite "Discovery":
|
||||
check res1.value{PeerId}.get() == clientB.peerInfo.peerId
|
||||
|
||||
await rdvB.unsubscribe(namespace)
|
||||
await sleepAsync(TIMEOUT_EXTENDED)
|
||||
await sleepAsync(DURATION_TIMEOUT_EXTENDED)
|
||||
var
|
||||
query2 = dmA.request(rdvNamespace)
|
||||
res2 = await query2.getPeer().waitForResult(1.seconds)
|
||||
@ -140,7 +140,7 @@ suite "Discovery":
|
||||
|
||||
await rdvB.unsubscribe(namespace)
|
||||
await rdvC.unsubscribe(namespace)
|
||||
await sleepAsync(TIMEOUT_EXTENDED)
|
||||
await sleepAsync(DURATION_TIMEOUT_EXTENDED)
|
||||
var
|
||||
query2 = dmA.request(rdvNamespace)
|
||||
res2 = await query2.getPeer().waitForResult(1.seconds)
|
||||
|
Loading…
x
Reference in New Issue
Block a user