about summary refs log tree commit homepage
path: root/test/unit/test_upload.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_upload.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_upload.rb')
-rw-r--r--test/unit/test_upload.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_upload.rb b/test/unit/test_upload.rb
index e2c103a..7777e00 100644
--- a/test/unit/test_upload.rb
+++ b/test/unit/test_upload.rb
@@ -53,7 +53,7 @@ class UploadTest < Test::Unit::TestCase
   end
 
   def teardown
-    redirect_test_io { @server.stop(true) } if @server
+    redirect_test_io { @server.stop(false) } if @server
     @random.close
     reset_sig_handlers
   end