ruby-changes:60561
From: Takashi <ko1@a...>
Date: Sun, 29 Mar 2020 07:24:50 +0900 (JST)
Subject: [ruby-changes:60561] cf191872fd (master): Increase the number of Process.times attempts
https://git.ruby-lang.org/ruby.git/commit/?id=cf191872fd From cf191872fdeade823b4c49b53ec9b28d66a5c402 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Sat, 28 Mar 2020 15:23:28 -0700 Subject: Increase the number of Process.times attempts CI of 5806c54447439f2ba22892e4045e78dd80f96f0c did not succeed https://travis-ci.org/github/ruby/ruby/jobs/668072714 diff --git a/spec/ruby/core/process/times_spec.rb b/spec/ruby/core/process/times_spec.rb index 2ec9924..57595c3 100644 --- a/spec/ruby/core/process/times_spec.rb +++ b/spec/ruby/core/process/times_spec.rb @@ -25,7 +25,7 @@ describe "Process.times" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/times_spec.rb#L25 skip "getrusage is not supported on this environment" end - found = (max * 10).times.find do + found = (max * 100).times.find do time = Process.times.utime ('%.6f' % time).end_with?('000') end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/