forked from mirror/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.release/1.9
parent
3b69c14f5d
commit
32d31c31af
Loading…
Reference in new issue