1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool/lib
Peter Zhu b777408c33 Fix crash in test runner on timeout
When a test worker hangs and timeouts, the test runner crashes with the
following stack trace:

ruby/tool/lib/test/unit.rb:1747:in `puke': undefined method `backtrace' for Timeout::Error:Class (NoMethodError)
	from ruby/tool/lib/test/unit.rb:790:in `block in _run_parallel'
	from ruby/tool/lib/test/unit.rb:788:in `each'

This commit adds handling for Timeout::Error and outputs a message.
2022-11-02 13:34:02 -04:00
..
-test-
test Fix crash in test runner on timeout 2022-11-02 13:34:02 -04:00
webrick
bundled_gem.rb Load gemspec file at that directory 2022-08-05 09:52:20 +09:00
colorize.rb colorize.rb: support for NO_COLOR 2022-11-01 14:34:05 +09:00
core_assertions.rb Fix test fail with assert_ractor outside of ruby/ruby repo 2022-09-01 16:15:51 +09:00
envutil.rb
find_executable.rb
gc_checker.rb
iseq_loader_checker.rb
jisx0208.rb
leakchecker.rb Hack to avoid leak checker 2022-05-25 18:48:01 +09:00
memory_status.rb
output.rb file2lastrev.rb: try to overwrite the found revision.h as before 2022-11-02 12:38:31 +09:00
profile_test_all.rb
tracepointchecker.rb
vcs.rb vcs.rb: do not reference the constant before assignment 2022-11-01 11:40:32 +09:00
vpath.rb file2lastrev.rb: separate options for Output and VPath 2022-11-02 12:38:03 +09:00
webrick.rb
zombie_hunter.rb