ssv icon indicating copy to clipboard operation
ssv copied to clipboard

Clear timeouts in libp2p tests

Open amirylm opened this issue 3 years ago • 0 comments

Libp2p peers in tests (e.g. network/p2p/p2p_test.go) are using timeouts to get over peer discovery which is async. A better approach is to wait for connections and then act accordingly (combined with a timeout in miliseconds so libp2p will manage to setup stream handlers)

amirylm avatar May 27 '21 15:05 amirylm