• Adrian Sutton's avatar
    op-node/p2p: Fix flaky TestDiscovery · a8f84cd3
    Adrian Sutton authored
    Prevously the test waited for the first two peer connections rather than waiting for the two expected peers to connect.
    Commonly the bootnode will connect inbound to peerB at the same time as peerB connects outbound to the bootnode, resulting in two connection events.
    a8f84cd3
host_test.go 12.7 KB