diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-04-28 23:29:10 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-04-28 23:29:49 +0200 |
commit | daa0874056f602cbc99cab5ddfe3e590194f9bca (patch) | |
tree | 3b3a2e32297db1f674a56b92beff44fa2b44cc4c /spec/ruby/core | |
parent | 79671ec57e59091260a0bc3d40a31d31d9c72a94 (diff) | |
download | ruby-daa0874056f602cbc99cab5ddfe3e590194f9bca.tar.gz |
CLOCK_MONOTONIC_RAW_APPROX seems less precise than advertised on macOS
* https://travis-ci.org/ruby/ruby/builds/525651487
Diffstat (limited to 'spec/ruby/core')
-rw-r--r-- | spec/ruby/core/process/fixtures/clocks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/process/fixtures/clocks.rb b/spec/ruby/core/process/fixtures/clocks.rb index f8ec0f0a20..f59a9562ec 100644 --- a/spec/ruby/core/process/fixtures/clocks.rb +++ b/spec/ruby/core/process/fixtures/clocks.rb @@ -29,7 +29,7 @@ module ProcessSpecs # These clocks in practice on macOS seem to be less precise than advertised by clock_getres platform_is :darwin do clocks = clocks.reject { |clock, value| - [:CLOCK_UPTIME_RAW_APPROX].include?(clock) + [:CLOCK_UPTIME_RAW_APPROX, :CLOCK_MONOTONIC_RAW_APPROX].include?(clock) } end |