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:
parent
a27f7e499c
commit
9426da83c6
1 changed files with 5 additions and 3 deletions
|
@ -51,13 +51,15 @@ describe "Process.clock_getres" do
|
||||||
|
|
||||||
# These are observed
|
# 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
|
it "with Process::CLOCK_REALTIME reports at least 1 microsecond" do
|
||||||
Process.clock_getres(Process::CLOCK_REALTIME, :nanosecond).should <= 1_000
|
Process.clock_getres(Process::CLOCK_REALTIME, :nanosecond).should <= 1_000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
platform_is_not :aix do
|
||||||
it "with Process::CLOCK_MONOTONIC reports at least 1 microsecond" do
|
it "with Process::CLOCK_MONOTONIC reports at least 1 microsecond" do
|
||||||
Process.clock_getres(Process::CLOCK_MONOTONIC, :nanosecond).should <= 1_000
|
Process.clock_getres(Process::CLOCK_MONOTONIC, :nanosecond).should <= 1_000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue