From: usa@... Date: 2015-01-22T09:11:25+00:00 Subject: [ruby-core:67751] [ruby-trunk - Bug #9917] TestIO#test_io_select_with_many_files results in timeout expiration on AIX Issue #9917 has been updated by Usaku NAKAMURA. Backport changed from 2.0.0: REQUIRED, 2.1: DONE, 2.2: DONE to 2.0.0: DONE, 2.1: DONE, 2.2: DONE ruby_2_0_0 r49381 merged revision(s) 49148. ---------------------------------------- Bug #9917: TestIO#test_io_select_with_many_files results in timeout expiration on AIX https://bugs.ruby-lang.org/issues/9917#change-51178 * Author: Rei Odaira * Status: Closed * Priority: Normal * Assignee: Yutaka Kanemoto * ruby -v: ruby 2.2.0dev (2014-06-02 trunk 45270) [powerpc-aix7.1.0.0] * Backport: 2.0.0: DONE, 2.1: DONE, 2.2: DONE ---------------------------------------- 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? ~~~diff --- 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 ~~~ -- https://bugs.ruby-lang.org/