[ruby-cvs:55255] normal:r48105 (trunk): test/ruby/test_process.rb: use io/wait instead of timeout

normal at ruby-lang.org normal at ruby-lang.org
Thu Oct 23 10:37:04 JST 2014


normal	2014-10-23 10:37:04 +0900 (Thu, 23 Oct 2014)

  New Revision: 48105

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48105

  Log:
    test/ruby/test_process.rb: use io/wait instead of timeout
    
    Occasionally I get timeout errors during this test on an
    overloaded system, so we may need to increase timeouts anyways.
    For now, avoid the overhead of thread creation for every read we
    do.
    
    * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
      use IO#wait_readable instead of timeout

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_process.rb


More information about the ruby-cvs mailing list