diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-22 15:43:10 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-22 15:43:10 +0000 |
| commit | 02969588b05b7ca64f3930fdfa05b46aa25d025e (patch) | |
| tree | 777912106052c60d3be45d5d416d75973e1c1238 /test/soap/helloworld | |
| parent | 8af50cc8384926e2a44c431cec9151a4ce2be7e9 (diff) | |
* test/soap/calc/*, test/soap/helloworld/*: set logging threshold to ERROR.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/soap/helloworld')
| -rw-r--r-- | test/soap/helloworld/test_helloworld.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/soap/helloworld/test_helloworld.rb b/test/soap/helloworld/test_helloworld.rb index bc1937bea..1e9c4a396 100644 --- a/test/soap/helloworld/test_helloworld.rb +++ b/test/soap/helloworld/test_helloworld.rb @@ -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 |
