[Groonga-commit] groonga/grntest at 5e12953 [master] Try forcing shutdown on CLI

Back to archive index

Kouhei Sutou null+****@clear*****
Wed May 18 09:35:08 JST 2016


Kouhei Sutou	2016-05-18 09:35:08 +0900 (Wed, 18 May 2016)

  New Revision: 5e129534185976e6d4331c8fea9712448fbdd371
  https://github.com/groonga/grntest/commit/5e129534185976e6d4331c8fea9712448fbdd371

  Message:
    Try forcing shutdown on CLI

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

  Modified: lib/grntest/test-runner.rb (+4 -1)
===================================================================
--- lib/grntest/test-runner.rb    2016-05-18 09:34:49 +0900 (f328ae7)
+++ lib/grntest/test-runner.rb    2016-05-18 09:35:08 +0900 (4a4e744)
@@ -229,7 +229,10 @@ module Grntest
           end
         end
       ensure
-        Process.waitpid(pid) if pid
+        if pid
+          pid = nil if wait_pid(pid)
+          ensure_process_finished(pid)
+        end
       end
     end
 
-------------- next part --------------
HTML����������������������������...
下载 



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