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 e6e292121a test: attempt to reduce failures in assert_cpu_usage_low
Try to make this test less fragile by taking into account
the worst case kernel timing resolution.
[ruby-core:81540]

* test/lib/test/unit/assertions.rb (assert_cpu_usage_low):
  clamp measurement to minimum measurable time and warn
  about tests being too short to measure
* test/ruby/test_io.rb (test_copy_stream_no_busy_wait):
  remove pct kwarg and rely on assert_cpu_usage_low defaults

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-03 01:04:30 +00:00
..
-test-
minitest fix up r57167 2017-05-10 23:52:14 +00:00
test test: attempt to reduce failures in assert_cpu_usage_low 2017-06-03 01:04:30 +00:00
envutil.rb test_rubyoptions.rb: ruby-runner sets $0 to install name now 2017-05-30 11:59:26 +00:00
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