From 7011bf152338c065f653996af7f2513f8f64de6b Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Sat, 8 Jan 2005 19:09:12 +0000 Subject: * 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 --- ChangeLog | 5 +++++ test/webrick/test_server.rb | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c450c8cf56..d111364459 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 9 04:08:40 2005 GOTOU Yuuzou + + * test/webrick/test_server.rb (test_daemon): delete an assertion + which has possibility to fail by race condition. + Sun Jan 9 03:22:46 2005 Minero Aoki * test/fileutils/test_fileutils.rb (test_copy_entry): copy_entry 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 -- cgit v1.2.3