mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
CLOCK_MONOTONIC_RAW_APPROX seems less precise than advertised on macOS
* https://travis-ci.org/ruby/ruby/builds/525651487
This commit is contained in:
parent
79671ec57e
commit
daa0874056
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ module ProcessSpecs
|
||||||
# These clocks in practice on macOS seem to be less precise than advertised by clock_getres
|
# These clocks in practice on macOS seem to be less precise than advertised by clock_getres
|
||||||
platform_is :darwin do
|
platform_is :darwin do
|
||||||
clocks = clocks.reject { |clock, value|
|
clocks = clocks.reject { |clock, value|
|
||||||
[:CLOCK_UPTIME_RAW_APPROX].include?(clock)
|
[:CLOCK_UPTIME_RAW_APPROX, :CLOCK_MONOTONIC_RAW_APPROX].include?(clock)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue