mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
1630a8294a
commit
7011bf1523
2 changed files with 5 additions and 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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue