diff options
author | Eric Wong <e@80x24.org> | 2018-07-03 11:02:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2018-07-03 11:02:55 +0000 |
commit | a12ca20f75c1f747a1c48b179f177a7ec03ea031 (patch) | |
tree | c2f285836457aa3611cd625420c47cfee92eda34 | |
parent | c2a0658fc26467a3950bb2848948932ae4f33f61 (diff) | |
download | yahns-a12ca20f75c1f747a1c48b179f177a7ec03ea031.tar.gz |
A test failure was causing SIGQUIT to be delivered before the forked process had a chance to hit trap(:QUIT).
-rw-r--r-- | test/server_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ module ServerHelper 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 |