diff --git a/test/test_helper.rb b/test/test_helper.rb index 0d86646d..4f0d1488 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -82,6 +82,7 @@ def signal_process(pid, signal, wait: nil) Thread.new do sleep(wait) if wait Process.kill(signal, pid) + rescue Errno::ESRCH end end