erigon-pulse/p2p/discover
battlmonstr a1d0ff3281
p2p: TestUDPv4_Lookup - unsolicited reply error (#4056)
The UDP test must be closed after the serveTestnet exits.
If it happens before, the serveTestnet encounters this error.
(it tries to emulate a packet receival after closing the transport)

FindNode triggers a Ping in ensureBond.
This causes an extra Sleep for "ping back".
Don't wait for this in tests.

Close v5 tests.

The requests may also timeout if a lot of them queue up in the udpTest.pipe,
and serveTestnet is slow to process them.
Increase replyTimeout a bit to prevent that.
2022-05-03 22:07:50 +01:00
..
v4wire p2p/discover/v4wire: use optional RLP field for EIP-868 seq (#3963) 2022-04-26 15:37:00 +01:00
v5wire Replace ioutil with io and os (#3946) 2022-04-23 15:43:00 +01:00
common.go p2p: TestUDPv4_Lookup - unsolicited reply error (#4056) 2022-05-03 22:07:50 +01:00
lookup.go Discovery: speed up lookup tests (#3677) 2022-03-11 12:04:42 +07:00
node.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
ntp.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00
table_integration_test.go p2p: improve test TestTable_findnodeByID (#4047) 2022-05-03 08:32:54 +01:00
table_test.go p2p: improve test TestTable_findnodeByID (#4047) 2022-05-03 08:32:54 +01:00
table_util_test.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
table.go Discovery: split node records to a sepatate DB table (#3581) (#3667) 2022-03-10 14:57:25 +01:00
v4_lookup_test.go p2p: TestUDPv4_Lookup - unsolicited reply error (#4056) 2022-05-03 22:07:50 +01:00
v4_udp_test.go p2p: TestUDPv4_Lookup - unsolicited reply error (#4056) 2022-05-03 22:07:50 +01:00
v4_udp.go p2p: TestUDPv4_Lookup - unsolicited reply error (#4056) 2022-05-03 22:07:50 +01:00
v5_udp_test.go p2p: TestUDPv4_Lookup - unsolicited reply error (#4056) 2022-05-03 22:07:50 +01:00
v5_udp.go Discovery: add Context to Listen. (#3577) 2022-02-22 18:18:43 +00:00