about summary refs log tree commit homepage
path: root/test/test_mogilefs_integration_list_keys.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_list_keys.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_list_keys.rb')
-rw-r--r--test/test_mogilefs_integration_list_keys.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_mogilefs_integration_list_keys.rb b/test/test_mogilefs_integration_list_keys.rb
index 8492a2a..6f56548 100644
--- a/test/test_mogilefs_integration_list_keys.rb
+++ b/test/test_mogilefs_integration_list_keys.rb
@@ -10,6 +10,8 @@ class TestMogileFSIntegrationListKeys < Test::Unit::TestCase
     @client = MogileFS::MogileFS.new(:hosts => @trackers, :domain => @domain)
   end
 
+  alias teardown teardown_mogilefs
+
   def test_list_keys
     k = %w(a b c d e f g)
     k.each { |x| @client.store_content("lk_#{x}", nil, x) }