go-ethereum/p2p/discover
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
..
v4wire
v5wire
common.go
lookup.go
metrics.go
node.go
ntp.go
table.go
table_reval.go
table_reval_test.go
table_test.go
table_util_test.go
v4_lookup_test.go p2p/discover: fix flaky tests writing to test.log after completion (#30506) 2024-09-26 08:12:12 +02:00
v4_udp.go
v4_udp_test.go
v5_talk.go
v5_udp.go
v5_udp_test.go