Use SIGSEGV to kill a parallel test worker (to dump backtrace)
This commit is contained in:
parent
fa3d9fdaed
commit
fdfde6ab2e
@ -415,8 +415,8 @@ module Test
|
||||
end
|
||||
|
||||
def kill
|
||||
Process.kill(:KILL, @pid)
|
||||
warn "worker #{to_s} does not respond; SIGKILL is sent"
|
||||
Process.kill(:SEGV, @pid)
|
||||
warn "worker #{to_s} does not respond; SIGSEGV is sent"
|
||||
rescue Errno::ESRCH
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user