From: shibata.hiroshi@... Date: 2015-01-05T05:58:17+00:00 Subject: [ruby-core:67340] [ruby-trunk - Bug #9917] [Closed] TestIO#test_io_select_with_many_files results in timeout expiration on AIX Issue #9917 has been updated by Hiroshi SHIBATA. Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r49148. ---------- * test/ruby/test_io.rb: added timeout for AIX environment. [ruby-core:62983][Bug #9917] ---------------------------------------- Bug #9917: TestIO#test_io_select_with_many_files results in timeout expiration on AIX https://bugs.ruby-lang.org/issues/9917#change-50798 * Author: Rei Odaira * Status: Closed * Priority: Normal * Assignee: Yutaka Kanemoto * Category: platform/aix * Target version: * ruby -v: ruby 2.2.0dev (2014-06-02 trunk 45270) [powerpc-aix7.1.0.0] * Backport: 2.0.0: REQUIRED, 2.1: REQUIRED ---------------------------------------- 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/