A test failure was causing SIGQUIT to be delivered before
the forked process had a chance to hit trap(:QUIT).
---
test/server_helper.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/server_helper.rb b/test/server_helper.rb
index 91d7208..b794ee6 100644
--- a/test/server_helper.rb
+++ b/test/server_helper.rb
@@ -31,7 +31,7 @@ def poke_until_dead(pid)
def quit_wait(pid)
pid or return
- err = $!
+ err = $! and warn "Terminating on #{err.inspect} (#{err.class})"
Process.kill(:QUIT, pid)
_, status = Timeout.timeout(10) { Process.waitpid2(pid) }
assert status.success?, status.inspect
--
EW
--
unsubscribe: [email protected]
archive: https://yhbt.net/yahns-public/