diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-18 11:28:01 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-18 11:28:01 +0000 |
commit | d89832e278cd5f6efdd3bef0df077d2f3d93849d (patch) | |
tree | c7b5a1162f500655cc14a831c173f2b43f2938a8 /test/ruby | |
parent | 642a2f04b0b866a0c578ff8003a4a4af853d8680 (diff) | |
download | ruby-d89832e278cd5f6efdd3bef0df077d2f3d93849d.tar.gz |
Increase timeout
http://rubyci.s3.amazonaws.com/unstable10s/ruby-trunk/log/20161215T021909Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_symbol.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb index a72c4388de..4461e51d61 100644 --- a/test/ruby/test_symbol.rb +++ b/test/ruby/test_symbol.rb @@ -174,7 +174,7 @@ class TestSymbol < Test::Unit::TestCase end def test_to_proc_iseq - assert_separately([], <<~"end;", timeout: 1) # do + assert_separately([], <<~"end;", timeout: 5) # do bug11845 = '[ruby-core:72381] [Bug #11845]' assert_nil(:class.to_proc.source_location, bug11845) assert_equal([[:rest]], :class.to_proc.parameters, bug11845) @@ -186,7 +186,7 @@ class TestSymbol < Test::Unit::TestCase end def test_to_proc_binding - assert_separately([], <<~"end;", timeout: 1) # do + assert_separately([], <<~"end;", timeout: 5) # do bug12137 = '[ruby-core:74100] [Bug #12137]' assert_raise(ArgumentError, bug12137) { :succ.to_proc.binding @@ -454,7 +454,7 @@ class TestSymbol < Test::Unit::TestCase def test_symbol_fstr_leak bug10686 = '[ruby-core:67268] [Bug #10686]' x = x = 0 - assert_no_memory_leak([], '200_000.times { |i| i.to_s.to_sym }; GC.start', <<-"end;", bug10686, limit: 1.71, rss: true) + assert_no_memory_leak([], '200_000.times { |i| i.to_s.to_sym }; GC.start', <<-"end;", bug10686, limit: 1.71, rss: true, timeout: 20) 200_000.times { |i| (i + 200_000).to_s.to_sym } end; end |