diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-16 23:57:31 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-17 07:28:12 +0000 |
commit | 593deb92e8ebd4e77e482c567d97b6ee496ac378 (patch) | |
tree | 9162663c0e66d59225fe28d1f3133a8e118868af /test/unit/test_signals.rb | |
parent | a0c59adf71506b8808de276b1288a319424ee71a (diff) | |
download | unicorn-593deb92e8ebd4e77e482c567d97b6ee496ac378.tar.gz |
rescuing from SystemExit and exit()-ing again is ugly, but changes made to lower stack depth positively affect _everyone_ so we'll tolerate some ugliness here. We'll need to disable graceful exit for some tests, too...
Diffstat (limited to 'test/unit/test_signals.rb')
-rw-r--r-- | test/unit/test_signals.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_signals.rb b/test/unit/test_signals.rb index 71cf8f4..5a3b519 100644 --- a/test/unit/test_signals.rb +++ b/test/unit/test_signals.rb @@ -124,7 +124,7 @@ class SignalsTest < Test::Unit::TestCase assert diff > 1.0, "diff was #{diff.inspect}" assert diff < 60.0 ensure - Process.kill(:QUIT, pid) rescue nil + Process.kill(:TERM, pid) rescue nil end def test_response_write |