[前][次][番号順一覧][スレッド一覧]

ruby-changes:63082

From: Hiroshi <ko1@a...>
Date: Fri, 25 Sep 2020 07:54:22 +0900 (JST)
Subject: [ruby-changes:63082] 53acf6686a (master): Revert "[ruby/webrick] Add test for shutdown_pipe"

https://git.ruby-lang.org/ruby.git/commit/?id=53acf6686a

From 53acf6686ab4dbf8be9bd72e0a6be4c99029aed9 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Fri, 25 Sep 2020 07:54:01 +0900
Subject: Revert "[ruby/webrick] Add test for shutdown_pipe"

This reverts commit c06eab13290757fc326bb2a6e3ac25cd53e00894.

diff --git a/test/webrick/test_server.rb b/test/webrick/test_server.rb
index aa40a72..815cc3c 100644
--- a/test/webrick/test_server.rb
+++ b/test/webrick/test_server.rb
@@ -161,18 +161,6 @@ class TestWEBrickServer < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/webrick/test_server.rb#L161
     }
   end
 
-  def test_shutdown_pipe
-    pipe = IO.pipe
-    server = WEBrick::GenericServer.new(
-      :ShutdownPipe => pipe,
-      :BindAddress => '0.0.0.0',
-      :Port => 0,
-      :Logger => WEBrick::Log.new([], WEBrick::BasicLog::WARN))
-    server_thread = Thread.start { server.start }
-    pipe.last.puts('')
-    assert_join_threads([server_thread])
-  end
-
   def test_port_numbers
     config = {
       :BindAddress => '0.0.0.0',
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]