1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Exclude failing Process.clock_getres specs on AIX

This commit is contained in:
Benoit Daloze 2019-04-28 14:59:14 +02:00
parent a27f7e499c
commit 9426da83c6

View file

@ -51,13 +51,15 @@ describe "Process.clock_getres" do
# These are observed
platform_is_not :solaris do
platform_is_not :solaris, :aix do
it "with Process::CLOCK_REALTIME reports at least 1 microsecond" do
Process.clock_getres(Process::CLOCK_REALTIME, :nanosecond).should <= 1_000
end
end
it "with Process::CLOCK_MONOTONIC reports at least 1 microsecond" do
Process.clock_getres(Process::CLOCK_MONOTONIC, :nanosecond).should <= 1_000
platform_is_not :aix do
it "with Process::CLOCK_MONOTONIC reports at least 1 microsecond" do
Process.clock_getres(Process::CLOCK_MONOTONIC, :nanosecond).should <= 1_000
end
end
end