Skip to content

Commit

Permalink
Debug: show pid and ps aux
Browse files Browse the repository at this point in the history
  • Loading branch information
djmb committed Oct 11, 2023
1 parent a497c5b commit bb0cee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ def wait_for_process_termination_with_timeout(pid, timeout: 10, from_parent: tru
def signal_process(pid, signal, wait: nil)
Thread.new do
sleep(wait) if wait
puts pid
puts `ps aux`
Process.kill(signal, pid)
rescue Errno::ESRCH
end
end

Expand Down

0 comments on commit bb0cee8

Please sign in to comment.