diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-08 15:09:49 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-08 15:09:49 +0000 |
commit | e075097587988a44b4b26ba4ff7addc93e601728 (patch) | |
tree | f16c5da9f71ed9f80d97b97a114a8c24a57ed8a1 /test/wsdl/datetime | |
parent | 98bbcb60fa2912b6be92b0f91ae0f19ba6687651 (diff) | |
download | ruby-e075097587988a44b4b26ba4ff7addc93e601728.tar.gz ruby-e075097587988a44b4b26ba4ff7addc93e601728.tar.xz ruby-e075097587988a44b4b26ba4ff7addc93e601728.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@5140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/wsdl/datetime')
-rw-r--r-- | test/wsdl/datetime/test_datetime.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wsdl/datetime/test_datetime.rb b/test/wsdl/datetime/test_datetime.rb index 5ac3fdc5b..1a1bc59c6 100644 --- a/test/wsdl/datetime/test_datetime.rb +++ b/test/wsdl/datetime/test_datetime.rb @@ -26,7 +26,7 @@ class TestDatetime < 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 @@ -48,7 +48,7 @@ class TestDatetime < Test::Unit::TestCase end def teardown_server - @server.server.shutdown + @server.shutdown @t.kill @t.join end |