mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/soap/calc/*, test/soap/helloworld/*: set logging threshold to ERROR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
618a435178
commit
00ac002f79
5 changed files with 21 additions and 9 deletions
|
@ -16,7 +16,7 @@ class TestHelloWorld < Test::Unit::TestCase
|
|||
|
||||
def setup
|
||||
@server = HelloWorldServer.new('hws', 'urn:hws', '0.0.0.0', Port)
|
||||
@server.level = Logger::Severity::UNKNOWN
|
||||
@server.level = Logger::Severity::ERROR
|
||||
@t = Thread.new {
|
||||
Thread.current.abort_on_exception = true
|
||||
@server.start
|
||||
|
@ -28,7 +28,8 @@ class TestHelloWorld < Test::Unit::TestCase
|
|||
raise
|
||||
end
|
||||
end
|
||||
@client = SOAP::RPC::Driver.new("http://localhost:#{Port}/", 'urn:hws')
|
||||
@endpoint = "http://localhost:#{Port}/"
|
||||
@client = SOAP::RPC::Driver.new(@endpoint, 'urn:hws')
|
||||
@client.add_method("hello_world", "from")
|
||||
end
|
||||
|
||||
|
@ -36,6 +37,7 @@ class TestHelloWorld < Test::Unit::TestCase
|
|||
@server.server.shutdown
|
||||
@t.kill
|
||||
@t.join
|
||||
@client.reset_stream
|
||||
end
|
||||
|
||||
def test_hello_world
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue