[Groonga-commit] groonga/groonga [master] [test] also expect Errno::ECONNRESET for shutdown

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2011年 12月 19日 (月) 17:43:54 JST


Yoji SHIDARA	2011-12-19 08:43:54 +0000 (Mon, 19 Dec 2011)

  New Revision: f73fd49ead7d5a36da730c6b6157f069ae6d1a26

  Log:
    [test] also expect Errno::ECONNRESET for shutdown

  Modified files:
    test/unit/http/test-http.rb

  Modified: test/unit/http/test-http.rb (+1 -1)
===================================================================
--- test/unit/http/test-http.rb    2011-12-19 08:41:07 +0000 (8564d52)
+++ test/unit/http/test-http.rb    2011-12-19 08:43:54 +0000 (5de2878)
@@ -60,7 +60,7 @@ module HTTPTests
                             :content_type => content_type)
     @groonga_pid = nil
 
-    assert_raise(Errno::ECONNREFUSED, EOFError) do
+    assert_raise(Errno::ECONNREFUSED, Errno::ECONNRESET, EOFError) do
       get(command_path(:shutdown, :output_type => output_type))
     end
   end




Groonga-commit メーリングリストの案内
アーカイブの一覧に戻る