[Groonga-commit] groonga/grntest at 211b7f3 [master] http: handle process can't be launched case

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 16 13:01:04 JST 2015


Kouhei Sutou	2015-02-16 13:01:04 +0900 (Mon, 16 Feb 2015)

  New Revision: 211b7f319358a0be3e4c979de13bfc608db6daaa
  https://github.com/groonga/grntest/commit/211b7f319358a0be3e4c979de13bfc608db6daaa

  Message:
    http: handle process can't be launched case

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

  Modified: lib/grntest/test-runner.rb (+4 -2)
===================================================================
--- lib/grntest/test-runner.rb    2015-02-16 12:56:12 +0900 (8842769)
+++ lib/grntest/test-runner.rb    2015-02-16 13:01:04 +0900 (6608702)
@@ -298,8 +298,10 @@ EOC
           end
           yield(executor)
         ensure
-          Process.kill(:TERM, pid)
-          wait_groonga_http_shutdown(pid_file_path)
+          if pid
+            Process.kill(:TERM, pid)
+            wait_groonga_http_shutdown(pid_file_path)
+          end
         end
       ensure
         ensure_process_finished(pid)
-------------- next part --------------
HTML����������������������������...
다운로드 



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