about summary refs log tree commit homepage
path: root/test/test_mogilefs_integration_large_pipe.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-01-16 03:09:09 +0000
committerEric Wong <e@80x24.org>2015-01-16 03:10:07 +0000
commit63cc3ee529250a6b09dd7e032dc73ec509000c0f (patch)
tree564f21756c31d3774e6a746661bb2b3699306239 /test/test_mogilefs_integration_large_pipe.rb
parentb1f366f2b764654d0dd1460369531e420b8b988c (diff)
downloadmogilefs-client-63cc3ee529250a6b09dd7e032dc73ec509000c0f.tar.gz
This should make it easier to fully test on machines without
access to an existing MogileFS instance.  You'll still
need mogilefsd and mogstored available, however, but these
tests are skipped on machines without them.
Diffstat (limited to 'test/test_mogilefs_integration_large_pipe.rb')
-rw-r--r--test/test_mogilefs_integration_large_pipe.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test_mogilefs_integration_large_pipe.rb b/test/test_mogilefs_integration_large_pipe.rb
index 49b9397..16f6d58 100644
--- a/test/test_mogilefs_integration_large_pipe.rb
+++ b/test/test_mogilefs_integration_large_pipe.rb
@@ -1,10 +1,12 @@
 # -*- encoding: binary -*-
-require './test/integration'
+require './test/fresh'
 require "digest/sha1"
 
-class TestMogileFSLargePipe< TestMogIntegration
+class TestMogileFSLargePipe < Test::Unit::TestCase
+  include TestFreshSetup
   def setup
-    super
+    setup_mogilefs
+    add_host_device_domain
     @client = MogileFS::MogileFS.new(:hosts => @trackers, :domain => @domain)
   end