diff options
-rw-r--r-- | test/ruby/test_io.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 1c45787648..478ac5ae4a 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -3802,13 +3802,13 @@ __END__ end def test_select_leak - assert_no_memory_leak([], <<-"end;", <<-"end;", rss: true, timeout: 30) + assert_no_memory_leak([], <<-"end;", <<-"end;", rss: true, timeout: 60) r, w = IO.pipe rset = [r] wset = [w] Thread.new { IO.select(rset, wset, nil, 0) }.join end; - 200000.times do + 200_000.times do th = Thread.new { IO.select(rset, wset) } Thread.pass until th.stop? th.kill |