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
|
end
|
||||||
|
|
||||||
def kill
|
def kill
|
||||||
Process.kill(:KILL, @pid)
|
Process.kill(:SEGV, @pid)
|
||||||
warn "worker #{to_s} does not respond; SIGKILL is sent"
|
warn "worker #{to_s} does not respond; SIGSEGV is sent"
|
||||||
rescue Errno::ESRCH
|
rescue Errno::ESRCH
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user