Project

General

Profile

« Previous | Next » 

Revision a028cfc5

Added by Eric Wong about 8 years ago

test/ruby/test_io.rb: adjust CPU usage check to 10%

I miscalculated for r58934, since we sleep 100ms, and
the worst possible case is 100 Hz in the kernel meaning
we only have 10ms resolution. So, we need to increase
our CPU percentage to >= 10% for this.

This should be more than enough for our CI machines which
have 300 Hz kernels [ruby-core:81429]:

http://ci.rvm.jp/results/trunk-test@sasada-8core/1495942555

  • test/ruby/test_io.rb (test_copy_stream_no_busy_wait):
    override default percentage

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e