Project

General

Profile

Actions

Bug #9917

closed

TestIO#test_io_select_with_many_files results in timeout expiration on AIX

Added by ReiOdaira (Rei Odaira) almost 10 years ago. Updated about 9 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

Updated by nagachika (Tomoyuki Chikanaga) over 9 years ago

  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED

Updated by hsbt (Hiroshi SHIBATA) about 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r49148.


Updated by hsbt (Hiroshi SHIBATA) about 9 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) about 9 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE, 2.2: REQUIRED

Backported into ruby_2_1 branch at r49158.

Updated by naruse (Yui NARUSE) about 9 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: DONE, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE, 2.2: DONE

ruby_2_2 r49283 merged revision(s) 49148.

Updated by usa (Usaku NAKAMURA) about 9 years ago

  • 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0