null+****@clear*****
null+****@clear*****
2010年 6月 11日 (金) 15:24:10 JST
Kouhei Sutou 2010-06-11 06:24:10 +0000 (Fri, 11 Jun 2010) New Revision: 324b88d9403c594a46830884d7ca6959c3ffb29e Log: add EOFError for shutdown check too. Modified files: test/unit/http/test-http.rb Modified: test/unit/http/test-http.rb (+1 -1) =================================================================== --- test/unit/http/test-http.rb 2010-06-11 06:01:00 +0000 (9b85d8c) +++ test/unit/http/test-http.rb 2010-06-11 06:24:10 +0000 (fc9334d) @@ -51,7 +51,7 @@ class HTTPTest < Test::Unit::TestCase :content_type => "application/json") @groonga_pid = nil - assert_raise(Errno::ECONNREFUSED) do + assert_raise(Errno::ECONNREFUSED, EOFError) do get(command_path(:shutdown)) end end