зеркало из https://github.com/github/ruby.git
Do not check that #stime changes in Process.times spec
* Since the spec might not spend any time in system calls.
This commit is contained in:
Родитель
11a381940b
Коммит
6413a26b6c
|
@ -23,7 +23,6 @@ describe "Process.times" do
|
|||
|
||||
times = 1000.times.map { Process.times }
|
||||
times.count { |t| !('%.6f' % t.utime).end_with?('000') }.should > 0
|
||||
times.count { |t| !('%.6f' % t.stime).end_with?('000') }.should > 0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче