Upgrade to Ruby 2.2.0 (rc1).
This commit is contained in:
parent
653216f634
commit
7097d0fbcc
3 changed files with 61 additions and 4 deletions
13
ruby-2.2.0-Extend-weak-ref-test-timeout.patch
Normal file
13
ruby-2.2.0-Extend-weak-ref-test-timeout.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/test/test_weakref.rb b/test/test_weakref.rb
|
||||
index 36b5d5b..861457f 100644
|
||||
--- a/test/test_weakref.rb
|
||||
+++ b/test/test_weakref.rb
|
||||
@@ -63,7 +63,7 @@ class TestWeakRef < Test::Unit::TestCase
|
||||
|
||||
def test_repeated_object_leak
|
||||
bug10537 = '[ruby-core:66428]'
|
||||
- assert_no_memory_leak(%w(-rweakref), '', <<-'end;', bug10537)
|
||||
+ assert_no_memory_leak(%w(-rweakref), '', <<-'end;', bug10537, timeout: 30)
|
||||
a = Object.new
|
||||
150_000.times { WeakRef.new(a) }
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue