mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	test/test_weakref.rb: increase timeout [Bug #10618]
* test/test_weakref.rb (test_repeated_object_leak): increase timeout [Bug #10618] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									ecedd3b224
								
							
						
					
					
						commit
						927bd684c1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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: 60)
 | 
			
		||||
      a = Object.new
 | 
			
		||||
      150_000.times { WeakRef.new(a) }
 | 
			
		||||
    end;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue