mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/soap/rpc/standaloneServer.rb: add 'shutdown' and 'status'
methods as delegates to WEBrick.
        * test/soap/calc/{test_calc.rb,test_calc2.rb},
          test/soap/helloworld/test_helloworld.rb,
          test/wsdl/datetime/test_datetime.rb, test/wsdl/raa/test_raa.rb:
          follow the change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
			
			
This commit is contained in:
		
							parent
							
								
									e67e930462
								
							
						
					
					
						commit
						af2dc00300
					
				
					 8 changed files with 34 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -28,7 +28,7 @@ class TestRAA < Test::Unit::TestCase
 | 
			
		|||
      Thread.current.abort_on_exception = true
 | 
			
		||||
      @server.start
 | 
			
		||||
    }
 | 
			
		||||
    while @server.server.nil? or @server.server.status != :Running
 | 
			
		||||
    while @server.status != :Running
 | 
			
		||||
      sleep 0.1
 | 
			
		||||
      unless @t.alive?
 | 
			
		||||
	@t.join
 | 
			
		||||
| 
						 | 
				
			
			@ -49,7 +49,7 @@ class TestRAA < Test::Unit::TestCase
 | 
			
		|||
  end
 | 
			
		||||
 | 
			
		||||
  def teardown_server
 | 
			
		||||
    @server.server.shutdown
 | 
			
		||||
    @server.shutdown
 | 
			
		||||
    @t.kill
 | 
			
		||||
    @t.join
 | 
			
		||||
  end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue