about summary refs log tree commit homepage
path: root/test/unit/test_signals.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-16 23:57:31 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-17 07:28:12 +0000
commit593deb92e8ebd4e77e482c567d97b6ee496ac378 (patch)
tree9162663c0e66d59225fe28d1f3133a8e118868af /test/unit/test_signals.rb
parenta0c59adf71506b8808de276b1288a319424ee71a (diff)
downloadunicorn-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.rb2
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