diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-08 19:09:12 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-08 19:09:12 +0000 |
| commit | ecf298f30f946990f1a61cdc80cb16393b3fde8d (patch) | |
| tree | fa69f7250c3c96d5f70624bd29c979f6434205e8 | |
| parent | 687fc4bb759aa042dd7c29a79172ffd99cc4d969 (diff) | |
| download | ruby-ecf298f30f946990f1a61cdc80cb16393b3fde8d.tar.gz ruby-ecf298f30f946990f1a61cdc80cb16393b3fde8d.tar.xz ruby-ecf298f30f946990f1a61cdc80cb16393b3fde8d.zip | |
* test/webrick/test_server.rb (test_daemon): delete an assertion
which has possibility to fail by race condition.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | test/webrick/test_server.rb | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sun Jan 9 04:08:40 2005 GOTOU Yuuzou <gotoyuzo@notwork.org> + + * 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 <aamine@loveruby.net> * 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 5c6b3e55d..ce5ee85c6 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 |
