[Groonga-commit] groonga/grntest at e14c72c [master] http: ignore error on shutdown

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Mar 11 23:51:27 JST 2015


Kouhei Sutou	2015-03-11 23:51:27 +0900 (Wed, 11 Mar 2015)

  New Revision: e14c72ca56c09c442976d0079594e9bc630bbac4
  https://github.com/groonga/grntest/commit/e14c72ca56c09c442976d0079594e9bc630bbac4

  Message:
    http: ignore error on shutdown

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

  Modified: lib/grntest/executors/http-executor.rb (+4 -1)
===================================================================
--- lib/grntest/executors/http-executor.rb    2015-03-11 23:51:00 +0900 (11f7de0)
+++ lib/grntest/executors/http-executor.rb    2015-03-11 23:51:27 +0900 (9f18660)
@@ -50,7 +50,10 @@ module Grntest
       end
 
       def shutdown
-        send_command(command("shutdown"))
+        begin
+          send_command(command("shutdown"))
+        rescue Error
+        end
       end
 
       def create_sub_executor(context)
-------------- next part --------------
HTML����������������������������...
Download 



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