[Groonga-commit] groonga/grntest at 35ae55c [master] Ignore "thread start" log message

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Aug 26 09:05:18 JST 2016


Kouhei Sutou	2016-08-26 09:05:18 +0900 (Fri, 26 Aug 2016)

  New Revision: 35ae55cd8aa4b377dda1dd5c9d5898308f0839ac
  https://github.com/groonga/grntest/commit/35ae55cd8aa4b377dda1dd5c9d5898308f0839ac

  Message:
    Ignore "thread start" log message

  Modified files:
    lib/grntest/executors/base-executor.rb

  Modified: lib/grntest/executors/base-executor.rb (+10 -0)
===================================================================
--- lib/grntest/executors/base-executor.rb    2016-08-19 11:28:40 +0900 (c90c5cd)
+++ lib/grntest/executors/base-executor.rb    2016-08-26 09:05:18 +0900 (0dccbdc)
@@ -429,6 +429,7 @@ module Grntest
         parser.parse(log) do |entry|
           next unless important_log_level?(entry.log_level)
           next if backtrace_log_message?(entry.message)
+          next if thread_log_message?(entry.message)
           important_messages << "\#|#{entry.log_level}| #{entry.message}"
         end
         important_messages.join("\n")
@@ -471,6 +472,15 @@ module Grntest
         end
       end
 
+      def thread_log_message?(message)
+        case message
+        when /\Athread start/
+          true
+        else
+          false
+        end
+      end
+
       def error_response?(response, type)
         status = nil
         begin
-------------- next part --------------
HTML����������������������������...
Download 



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