diff options
-rw-r--r-- | test/ruby/test_io.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index cd4fe98981..0f4d5234a0 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1455,7 +1455,7 @@ class TestIO < Test::Unit::TestCase f.close end - def try_fdopen(fd, autoclose = true, level = 100) + def try_fdopen(fd, autoclose = true, level = 50) if level > 0 begin 1.times {return try_fdopen(fd, autoclose, level - 1)} |