go-ethereum/eth/fetcher
Daniel Liu 5e8a096844
eth/fetcher, trie: unit test reliability fixes #23020 #23415 (#1070)
Some tests take quite some time during exit, which I think causes
some appveyor fails like this:

    https://ci.appveyor.com/project/ethereum/go-ethereum/builds/39511210/job/xhom84eg2e4uulq3

One of the things that seem to take time during exit is waiting
(up to 100ms) for the syncbloom to close. This PR changes it to use
a channel, instead of looping with a 100ms wait.

This also includes some unrelated changes improving the reliability of
eth/fetcher tests, which fail a lot because they are time-dependent.

Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-06-17 13:21:18 +08:00
..
fetcher.go eth/fetcher, trie: unit test reliability fixes #23020 #23415 (#1070) 2025-06-17 13:21:18 +08:00
fetcher_test.go eth/fetcher, trie: unit test reliability fixes #23020 #23415 (#1070) 2025-06-17 13:21:18 +08:00
metrics.go Revert EIP-2464 2024-08-24 02:31:27 +07:00