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
|
@ -21,7 +21,7 @@ class TestHelloWorld < 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
|
||||
|
@ -34,7 +34,7 @@ class TestHelloWorld < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def teardown
|
||||
@server.server.shutdown
|
||||
@server.shutdown
|
||||
@t.kill
|
||||
@t.join
|
||||
@client.reset_stream
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue