Project

General

Profile

Bug #9917

TestIO#test_io_select_with_many_files results in timeout expiration on AIX

Added by ReiOdaira (Rei Odaira) about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
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

Associated revisions

Revision 471f5a7a
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • test/ruby/test_io.rb: added timeout for AIX environment. [ruby-core:62983][Bug #9917]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49148
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • test/ruby/test_io.rb: added timeout for AIX environment. [ruby-core:62983][Bug #9917]

Revision 49148
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • test/ruby/test_io.rb: added timeout for AIX environment. [ruby-core:62983][Bug #9917]

Revision 49148
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • test/ruby/test_io.rb: added timeout for AIX environment. [ruby-core:62983][Bug #9917]

Revision 49148
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • test/ruby/test_io.rb: added timeout for AIX environment. [ruby-core:62983][Bug #9917]

Revision 49148
Added by hsbt (Hiroshi SHIBATA) over 4 years ago

  • test/ruby/test_io.rb: added timeout for AIX environment. [ruby-core:62983][Bug #9917]

Revision 79d041db
Added by nagachika (Tomoyuki Chikanaga) over 4 years ago

merge revision(s) r49148: [Backport #9917]

    * test/ruby/test_io.rb: added timeout for AIX environment.
      [ruby-core:62983][Bug #9917]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49158
Added by nagachika (Tomoyuki Chikanaga) over 4 years ago

merge revision(s) r49148: [Backport #9917]

* test/ruby/test_io.rb: added timeout for AIX environment.
  [ruby-core:62983][Bug #9917]

Revision 13cea1f3
Added by naruse (Yui NARUSE) over 4 years ago

merge revision(s) 49148: [Backport #9917]

    * test/ruby/test_io.rb: added timeout for AIX environment.
      [ruby-core:62983][Bug #9917]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49283
Added by naruse (Yui NARUSE) over 4 years ago

merge revision(s) 49148: [Backport #9917]

* test/ruby/test_io.rb: added timeout for AIX environment.
  [ruby-core:62983][Bug #9917]

Revision 8c519e28
Added by usa (Usaku NAKAMURA) over 4 years ago

merge revision(s) 49148: [Backport #9917]

    * test/ruby/test_io.rb: added timeout for AIX environment.
      [ruby-core:62983][Bug #9917]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49381
Added by usa (Usaku NAKAMURA) over 4 years ago

merge revision(s) 49148: [Backport #9917]

* test/ruby/test_io.rb: added timeout for AIX environment.
  [ruby-core:62983][Bug #9917]

History

Updated by nagachika (Tomoyuki Chikanaga) almost 5 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) over 4 years ago

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

Updated by hsbt (Hiroshi SHIBATA) over 4 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) over 4 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) over 4 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) over 4 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.

Also available in: Atom PDF