Fix flaky macos switch test (#592)
* sleep to avoid flaky switch test on macos * Update tests/testswitch.nim Co-authored-by: markspanbroek <mark@spanbroek.net> Co-authored-by: markspanbroek <mark@spanbroek.net>
This commit is contained in:
parent
bee91538ef
commit
7e3974f9c8
|
@ -713,7 +713,9 @@ suite "Switch":
|
|||
readers.add(closeReader())
|
||||
|
||||
await allFuturesThrowing(readers)
|
||||
await switch2.stop() #Otherwise this leeks
|
||||
await switch2.stop() #Otherwise this leaks
|
||||
check await checkExpiring(not switch1.isConnected(switch2.peerInfo.peerID))
|
||||
|
||||
checkTracker(LPChannelTrackerName)
|
||||
checkTracker(SecureConnTrackerName)
|
||||
checkTracker(ChronosStreamTrackerName)
|
||||
|
|
Loading…
Reference in New Issue