Issue #1066 has been updated by Motohiro KOSAKI.

Status changed from Feedback to Rejected

I close this as Rejected since no feedback provided.
Please upgrade your OS.
----------------------------------------
Bug #1066: Frequent failure: test_io.rb test 2 on OS X 10.5.6
http://redmine.ruby-lang.org/issues/1066

Author: Mike Stok
Status: Rejected
Priority: Normal
Assignee: Nobuyoshi Nakada
Category: test
Target version: 1.9.x
ruby -v: -


=begin
 Many times when I build the ruby trunk downloaded from http://svn.ruby-lang.org/repos/ruby/trunk the test_io.rb output is:
 
 test_io.rb .F......................................................
 
 and at the end of the tests there is this failure message:
 
 #223 test_io.rb:11:in `<top (required)>': 
      begin
        require "io/nonblock"
        r, w = IO.pipe
        w.nonblock = true
        w.write_nonblock("a" * 100000)
        w.nonblock = false
        t1 = Thread.new { w.write("b" * 4096) }
        t2 = Thread.new { w.write("c" * 4096) }
        sleep 0.5
        r.sysread(4096).length
        sleep 0.5
        r.sysread(4096).length
        t1.join
        t2.join
      rescue LoadError
      end
   #=> not finished in 10 seconds  [ruby-dev:32566]
 FAIL 1/928 tests failed
 make: *** [btest-ruby] Error 1
 
 Maybe one time in twenty it succeeds, but I have not tried to check whether this is revision dependent.  The latest revision I tested and which failed the test was 21852
=end



-- 
http://redmine.ruby-lang.org