diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-19 03:03:33 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-20 00:01:31 -0800 |
commit | 696f61e21051ccf16dcf4fe93f5dc6da445cbd8c (patch) | |
tree | fbdca1922f91688d1cc6b023ab42e9b9506f586f | |
parent | 2ff0f8ae66623424dd64b865e7415dd007ade280 (diff) | |
download | unicorn-696f61e21051ccf16dcf4fe93f5dc6da445cbd8c.tar.gz |
Prevent the GC from trying to close it (and hitting the wrong descriptor) when @random is reopened for running tests.
-rw-r--r-- | test/unit/test_upload.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/test_upload.rb b/test/unit/test_upload.rb index 3e9a115..7629fbe 100644 --- a/test/unit/test_upload.rb +++ b/test/unit/test_upload.rb @@ -30,6 +30,7 @@ class UploadTest < Test::Unit::TestCase def teardown redirect_test_io { @server.stop(true) } if @server + @random.close end def test_put |