go-ethereum/p2p/enode
Martin HS b5a88dafae
p2p/discover: fix flaky tests writing to test.log after completion (#30506)
This PR fixes two tests, which had a tendency to sometimes write to the `*testing.T` `log` facility after the test function had completed, which is not allowed. This PR fixes it by using waitgroups to ensure that the handler/logwriter terminates before the test exits.

closes #30505
2024-09-26 08:12:12 +02:00
..
idscheme.go p2p/enode: fix endpoint determination for IPv6 (#29801) 2024-05-23 14:27:03 +02:00
idscheme_test.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
iter.go p2p/enode: implement per-source timeout in FairMix (#25962) 2022-11-08 12:12:36 +01:00
iter_test.go p2p: initialize maps with known size (#27229) 2023-05-10 10:52:26 +02:00
localnode.go p2p: use netip.Addr where possible (#29891) 2024-06-05 19:31:04 +02:00
localnode_test.go p2p: use netip.Addr where possible (#29891) 2024-06-05 19:31:04 +02:00
node.go p2p/enode: add quic ENR entry (#30283) 2024-09-13 23:47:18 +02:00
node_test.go p2p/enode: add quic ENR entry (#30283) 2024-09-13 23:47:18 +02:00
nodedb.go p2p/discover: fix flaky tests writing to test.log after completion (#30506) 2024-09-26 08:12:12 +02:00
nodedb_test.go p2p: use netip.Addr where possible (#29891) 2024-06-05 19:31:04 +02:00
urlv4.go p2p/enode: fix endpoint determination for IPv6 (#29801) 2024-05-23 14:27:03 +02:00
urlv4_test.go p2p/enode: mock DNS resolver in URL parsing test (#20252) 2019-11-07 16:40:37 +01:00