[Groonga-commit] ranguba/rroonga at c21b0b4 [master] Add teardown for leap second test

Back to archive index

Hiroshi Hatake null+****@clear*****
Sat Jan 31 11:48:43 JST 2015


Hiroshi Hatake	2015-01-31 11:48:43 +0900 (Sat, 31 Jan 2015)

  New Revision: c21b0b4fd351894cba77624fe500e6849c03dd93
  https://github.com/ranguba/rroonga/commit/c21b0b4fd351894cba77624fe500e6849c03dd93

  Message:
    Add teardown for leap second test
    
    Because TZ info is stored last modified value forever.

  Modified files:
    test/test-record.rb

  Modified: test/test-record.rb (+4 -0)
===================================================================
--- test/test-record.rb    2015-01-31 11:33:42 +0900 (26ec8f7)
+++ test/test-record.rb    2015-01-31 11:48:43 +0900 (78fa6eb)
@@ -672,5 +672,9 @@ class RecordTest < Test::Unit::TestCase
       }.to_json
       assert_equal(expected, groonga.to_json)
     end
+
+    def teardown
+      ENV["TZ"] = "Japan"
+    end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index