From bb0cee84481fb1adcbdd9244704e70d71fb4b3be Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Wed, 11 Oct 2023 12:09:21 +0200 Subject: [PATCH] Debug: show pid and ps aux --- test/test_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 4f0d1488..83a0bc77 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -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