Project

General

Profile

« Previous | Next » 

Revision b777408c

Added by peterzhu2118 (Peter Zhu) over 2 years ago

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.