[Groonga-commit] groonga/fluent-plugin-groonga-log at 0317dfa [master] Update test case for timestamp

Zurück zum Archiv-Index

Kentaro Hayashi null+****@clear*****
Mon Oct 16 16:52:26 JST 2017


Kentaro Hayashi	2017-10-16 16:52:26 +0900 (Mon, 16 Oct 2017)

  New Revision: 0317dfaf08f83f0673db0fd9aee2f83e52d4f06d
  https://github.com/groonga/fluent-plugin-groonga-log/commit/0317dfaf08f83f0673db0fd9aee2f83e52d4f06d

  Merged f546b6e: Merge pull request #6 from kenhys/convert-timestamp-to-string

  Message:
    Update test case for timestamp

  Modified files:
    test/plugin/test_parser_groonga_log.rb

  Modified: test/plugin/test_parser_groonga_log.rb (+1 -1)
===================================================================
--- test/plugin/test_parser_groonga_log.rb    2017-10-16 16:46:10 +0900 (2d3cf22)
+++ test/plugin/test_parser_groonga_log.rb    2017-10-16 16:52:26 +0900 (a2f5408)
@@ -13,7 +13,7 @@ class GroongaLogParserTest < Test::Unit::TestCase
     @parser.instance.parse(log) do |time, record|
       timestamp = Time.local(2017, 7, 19, 14, 41, 5, 663978)
       expected = {
-        "timestamp" => timestamp,
+        "timestamp" => timestamp.iso8601,
         "log_level" => :notice,
         "context_id" => "18c61700",
         "message" => "spec:2:update:Object:32(type):8",
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171016/202b463b/attachment-0001.htm 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index