[Groonga-commit] droonga/drntest at aa1cf2b [master] Stop maybe-stalled process of droonga-engine

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Mar 20 12:39:06 JST 2015


YUKI Hiroshi	2015-03-20 12:39:06 +0900 (Fri, 20 Mar 2015)

  New Revision: aa1cf2b97081b7da463cc07ba59483435a2c50b4
  https://github.com/droonga/drntest/commit/aa1cf2b97081b7da463cc07ba59483435a2c50b4

  Message:
    Stop maybe-stalled process of droonga-engine

  Modified files:
    lib/drntest/test-runner.rb

  Modified: lib/drntest/test-runner.rb (+4 -0)
===================================================================
--- lib/drntest/test-runner.rb    2015-03-20 12:32:10 +0900 (d01b322)
+++ lib/drntest/test-runner.rb    2015-03-20 12:39:06 +0900 (e907b74)
@@ -26,6 +26,9 @@ require "drntest/engine"
 require "drntest/input-error"
 
 module Drntest
+  class EngineStalled < StandardError
+  end
+
   class TestRunner
     def initialize(config, target)
       @config = config
@@ -61,6 +64,7 @@ module Drntest
         remove_reject_file
       when :no_response
         puts "NO RESPONSE"
+        raise EngineStalled.new
       when :failure
         puts "FAILURE"
         save_reject_file(results.actuals)
-------------- next part --------------
HTML����������������������������...
Download 



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