Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information