[Groonga-commit] droonga/drntest at 280d287 [master] Return "NO RESPONSE" results even if the engine is stalled

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Mar 20 12:44:55 JST 2015


YUKI Hiroshi	2015-03-20 12:44:55 +0900 (Fri, 20 Mar 2015)

  New Revision: 280d28787e695df77dd3656a26d3466f83199716
  https://github.com/droonga/drntest/commit/280d28787e695df77dd3656a26d3466f83199716

  Message:
    Return "NO RESPONSE" results even if the engine is stalled

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

  Modified: lib/drntest/test-runner.rb (+1 -1)
===================================================================
--- lib/drntest/test-runner.rb    2015-03-20 12:40:41 +0900 (e907b74)
+++ lib/drntest/test-runner.rb    2015-03-20 12:44:55 +0900 (2f54843)
@@ -42,6 +42,7 @@ module Drntest
       @engine.start(@target_path)
       begin
         results = process_requests
+        raise EngineStalled.new if results.status == :no_response
       ensure
         @engine.stop
       end
@@ -64,7 +65,6 @@ 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