about summary refs log tree commit homepage
path: root/test/test_mogilefs_integration_large_pipe.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2015-01-22 04:08:34 +0000
committerEric Wong <normalperson@yhbt.net>2015-01-22 04:08:34 +0000
commit9738138e9266b1c8f955bc92eabd27313a0e853f (patch)
tree9311e8b3d087c34a5883199b83ce636576e65309 /test/test_mogilefs_integration_large_pipe.rb
parentea6ea79399288737ced11fe60a47a5161fc447ed (diff)
downloadmogilefs-client-9738138e9266b1c8f955bc92eabd27313a0e853f.tar.gz
This should prevent stray processes from being leftover
after tests are run as well as cleaning up tmpdirs
more thoroughly.
Diffstat (limited to 'test/test_mogilefs_integration_large_pipe.rb')
-rw-r--r--test/test_mogilefs_integration_large_pipe.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_mogilefs_integration_large_pipe.rb b/test/test_mogilefs_integration_large_pipe.rb
index 16f6d58..f6b7dc9 100644
--- a/test/test_mogilefs_integration_large_pipe.rb
+++ b/test/test_mogilefs_integration_large_pipe.rb
@@ -10,6 +10,8 @@ class TestMogileFSLargePipe < Test::Unit::TestCase
     @client = MogileFS::MogileFS.new(:hosts => @trackers, :domain => @domain)
   end
 
+  alias teardown teardown_mogilefs
+
   def test_large_pipe_test
     junk = File.open("/dev/urandom") { |fp| fp.read(1024) }
     junk *= 32