about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-08-31 02:19:00 +0000
committerEric Wong <e@80x24.org>2016-08-31 02:48:17 +0000
commit8ef97c54d0e2aa762c75301790f4cd02fc851f0e (patch)
tree9ce0ec1797733cb4fe514a101928e413a2b2d27e
parent89f205501586ff0acd7a297b612d47ffcb8f964e (diff)
downloadmogilefs-client-8ef97c54d0e2aa762c75301790f4cd02fc851f0e.tar.gz
This test bug was exposed due to using an old
MogileFS-Server without
commit d0ee2a27253ade4b50ef5b91471f4f520a67bf8c
("Work with DBD::SQLite's latest lock errors")
-rw-r--r--test/test_fresh.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_fresh.rb b/test/test_fresh.rb
index 9499db5..ff7bae6 100644
--- a/test/test_fresh.rb
+++ b/test/test_fresh.rb
@@ -88,7 +88,7 @@ class TestMogFresh < Test::Unit::TestCase
     end
     test_new_file_info(:md5)
   ensure
-    @admin.delete_class @domain, "check"
+    @admin.delete_class(@domain, "check") if @domain
   end
 
   def test_create_open_close_opts