mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	increase timeout for Solaris 10 SPARC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									d0128a699a
								
							
						
					
					
						commit
						2743c491a7
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1821,7 +1821,7 @@ class TestArray < Test::Unit::TestCase | ||||||
|     assert_equal(b, @cls[0, 1, 2, 3, 4][1, 4].permutation.to_a, bug3708) |     assert_equal(b, @cls[0, 1, 2, 3, 4][1, 4].permutation.to_a, bug3708) | ||||||
| 
 | 
 | ||||||
|     bug9932 = '[ruby-core:63103] [Bug #9932]' |     bug9932 = '[ruby-core:63103] [Bug #9932]' | ||||||
|     assert_separately([], <<-"end;") #    do |     assert_separately([], <<-"end;", timeout: 30) #    do | ||||||
|       assert_nothing_raised(SystemStackError, "#{bug9932}") do |       assert_nothing_raised(SystemStackError, "#{bug9932}") do | ||||||
|         assert_equal(:ok, Array.new(100_000, nil).permutation {break :ok}) |         assert_equal(:ok, Array.new(100_000, nil).permutation {break :ok}) | ||||||
|       end |       end | ||||||
|  |  | ||||||
|  | @ -284,7 +284,7 @@ class TestFiber < Test::Unit::TestCase | ||||||
|     env['RUBY_FIBER_VM_STACK_SIZE'] = vm_stack_size.to_s if vm_stack_size |     env['RUBY_FIBER_VM_STACK_SIZE'] = vm_stack_size.to_s if vm_stack_size | ||||||
|     env['RUBY_FIBER_MACHINE_STACK_SIZE'] = machine_stack_size.to_s if machine_stack_size |     env['RUBY_FIBER_MACHINE_STACK_SIZE'] = machine_stack_size.to_s if machine_stack_size | ||||||
|     out, _ = Dir.mktmpdir("test_fiber") {|tmpdir| |     out, _ = Dir.mktmpdir("test_fiber") {|tmpdir| | ||||||
|       EnvUtil.invoke_ruby([env, '-e', script], '', true, true, chdir: tmpdir) |       EnvUtil.invoke_ruby([env, '-e', script], '', true, true, chdir: tmpdir, timeout: 30) | ||||||
|     } |     } | ||||||
|     use_length ? out.length : out |     use_length ? out.length : out | ||||||
|   end |   end | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 naruse
						naruse