diff options
author | Eric Wong <e@80x24.org> | 2015-01-16 03:09:09 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-01-16 03:10:07 +0000 |
commit | 63cc3ee529250a6b09dd7e032dc73ec509000c0f (patch) | |
tree | 564f21756c31d3774e6a746661bb2b3699306239 /test/test_mogilefs_integration_list_keys.rb | |
parent | b1f366f2b764654d0dd1460369531e420b8b988c (diff) | |
download | mogilefs-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_list_keys.rb')
-rw-r--r-- | test/test_mogilefs_integration_list_keys.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/test_mogilefs_integration_list_keys.rb b/test/test_mogilefs_integration_list_keys.rb index 1de6cda..8492a2a 100644 --- a/test/test_mogilefs_integration_list_keys.rb +++ b/test/test_mogilefs_integration_list_keys.rb @@ -1,10 +1,12 @@ - # -*- encoding: binary -*- -require './test/integration' +require './test/fresh' + +class TestMogileFSIntegrationListKeys < Test::Unit::TestCase + include TestFreshSetup -class TestMogileFSIntegrationListKeys < TestMogIntegration def setup - super + setup_mogilefs + add_host_device_domain @client = MogileFS::MogileFS.new(:hosts => @trackers, :domain => @domain) end |