mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* test/thread/test_queue.rb (test_thr_kill): extend timeout.
this test takes a long time at slow machine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									1c0e423274
								
							
						
					
					
						commit
						07fa1c9144
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Sun Dec 18 09:43:21 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
 | 
			
		||||
 | 
			
		||||
	* test/thread/test_queue.rb (test_thr_kill): extend timeout.
 | 
			
		||||
	  this test takes a long time at slow machine.
 | 
			
		||||
 | 
			
		||||
Sun Dec 18 09:36:51 2011  CHIKANAGA Tomoyuki  <nagachika00@gmail.com>
 | 
			
		||||
 | 
			
		||||
	* test/ruby/envutil.rb (invoke_ruby): remove :timeout option before
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,9 +57,9 @@ class TestQueue < Test::Unit::TestCase
 | 
			
		|||
 | 
			
		||||
  def test_thr_kill
 | 
			
		||||
    bug5343 = '[ruby-core:39634]'
 | 
			
		||||
    assert_normal_exit(<<-'_eom', bug5343)
 | 
			
		||||
    assert_normal_exit(<<-'_eom', bug5343, {:timeout => 250})
 | 
			
		||||
      require "thread"
 | 
			
		||||
      2000.times do
 | 
			
		||||
        require "thread"
 | 
			
		||||
        queue = Queue.new
 | 
			
		||||
        r, w = IO.pipe
 | 
			
		||||
        th = Thread.start {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue