Issue #9917 has been updated by Hiroshi SHIBATA.
Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
Bug #9917: TestIO#test_io_select_with_many_files results in timeout expiration on AIX
https://bugs.ruby-lang.org/issues/9917#change-50799
* 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, 2.2: 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/