Project

General

Profile

Actions

Bug #9917

closed

TestIO#test_io_select_with_many_files results in timeout expiration on AIX

Bug #9917: TestIO#test_io_select_with_many_files results in timeout expiration on AIX

Added by ReiOdaira (Rei Odaira) over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.2.0dev (2014-06-02 trunk 45270) [powerpc-aix7.1.0.0]
[ruby-core:62983]

Description

On AIX, time-out for TestIO#test_io_select_with_many_files expires because it takes more than 10 seconds to remove 1024< temporary files. The test itself succeeds if the time-out period is extended.

[ 85/170] TestIO#test_io_select_with_many_files = 11.06 s 2) Error: TestIO#test_io_select_with_many_files: Timeout::Error: execution of assert_normal_exit expired /ss/home/rayod/Dev/Contribution/ruby-trunk-blue1/test/ruby/test_io.rb:2935:in `test_io_select_with_many_files' 

How about extending the time-out period to 30 seconds?

--- test/ruby/test_io.rb (revision 46310) +++ test/ruby/test_io.rb (working copy) @@ -2952,7 +2952,7 @@ } IO.select(tempfiles) - }, bug8080 + }, bug8080, timeout: 30  end def test_read_32bit_boundary 
Actions

Also available in: PDF Atom