summaryrefslogtreecommitdiff
path: root/test/webrick/test_server.rb
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-08 19:09:12 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-08 19:09:12 +0000
commit7011bf152338c065f653996af7f2513f8f64de6b (patch)
treefa69f7250c3c96d5f70624bd29c979f6434205e8 /test/webrick/test_server.rb
parent1630a8294aad6b65f297195a7fadf0b3e15d5151 (diff)
* test/webrick/test_server.rb (test_daemon): delete an assertion
which has possibility to fail by race condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick/test_server.rb')
-rw-r--r--test/webrick/test_server.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/webrick/test_server.rb b/test/webrick/test_server.rb
index 5c6b3e55de..ce5ee85c6c 100644
--- a/test/webrick/test_server.rb
+++ b/test/webrick/test_server.rb
@@ -50,11 +50,9 @@ class TestWEBrickServer < Test::Unit::TestCase
Process.fork{
r.close
WEBrick::Daemon.start
- w.puts(Process.ppid)
w.puts(Process.pid)
sleep
}
- assert_equal(1, r.gets.to_i)
assert(Process.kill(:KILL, r.gets.to_i))
rescue NotImplementedError
# snip this test