mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
When sleeping for the tick rate of 100ms (defined in thread_pthread.c) as we do in test/ruby/test_io.rb (test_copy_stream_no_busy_wait), it may not be possible to measure with <= 10ms resolution on 100HZ systems (CONFIG_HZ in the Linux kernel). So increase the threshold to 15ms (10ms + 5ms slack for slow systems). * test/lib/test/unit/assertions.rb (assert_cpu_usage_low): increase pct default value [ruby-core:81427] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
|---|---|---|
| .. | ||
| -test- | ||
| minitest | ||
| test | ||
| envutil.rb | ||
| find_executable.rb | ||
| iseq_loader_checker.rb | ||
| leakchecker.rb | ||
| memory_status.rb | ||
| profile_test_all.rb | ||
| tracepointchecker.rb | ||
| with_different_ofs.rb | ||
| zombie_hunter.rb | ||