mirror of https://github.com/ethereum/go-ethereum
metrics: improve TestTimerFunc (#20818)
The test failed due to what appears to be fluctuations in time.Sleep, which is not the actual method under test. This change modifies it so we compare the metered Max to the actual time instead of the desired time.pull/20792/head
parent
3b69c14f5d
commit
32d31c31af
Loading…
Reference in new issue