1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/lib
normal 109ccfdb2c tests: increase CPU percentage threshold for assert_cpu_usage_low
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
2017-05-28 01:43:38 +00:00
..
-test- -test-/integer 2016-05-22 07:27:02 +00:00
minitest fix up r57167 2017-05-10 23:52:14 +00:00
test tests: increase CPU percentage threshold for assert_cpu_usage_low 2017-05-28 01:43:38 +00:00
envutil.rb use timeout scale. 2017-05-25 23:43:33 +00:00
find_executable.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
iseq_loader_checker.rb follow r53691 2016-02-02 13:01:09 +00:00
leakchecker.rb leakchecker.rb: get rid of uninitialized Tempfile 2017-01-27 05:01:18 +00:00
memory_status.rb memory_status.c: system call 2016-10-08 01:34:27 +00:00
profile_test_all.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
tracepointchecker.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
with_different_ofs.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
zombie_hunter.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00