-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: use more precise time comparison (#5268)
* test: use more precise time comparison This approach covers the edge case when 2 numeric values are in the same precision vicinity, but get rounded to the different values. E.g. `a = 0.514` and `b = 0.516`. The diff is `0.002`, but the diff between rounded values was `0.01` before this fix. This is a tiny fix, but without it, the CI fails from time to time. That could cost ~35m of waiting time in the merge queue. * chore: sorted imports
- Loading branch information
1 parent
1c5aa87
commit e256812
Showing
2 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters