diff options
Diffstat (limited to 'test/soap/calc/test_calc2.rb')
-rw-r--r-- | test/soap/calc/test_calc2.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/soap/calc/test_calc2.rb b/test/soap/calc/test_calc2.rb index 0e84ca390b..776151ff35 100644 --- a/test/soap/calc/test_calc2.rb +++ b/test/soap/calc/test_calc2.rb @@ -14,10 +14,11 @@ module Calc class TestCalc2 < Test::Unit::TestCase def setup @server = CalcServer2.new('CalcServer', 'http://tempuri.org/calcService', '0.0.0.0', 7000) + @server.level = Logger::Severity::FATAL @t = Thread.new { @server.start } - while @server.server.status != :Running + while @server.server.nil? or @server.server.status != :Running sleep 0.1 end @var = SOAP::RPC::Driver.new('http://localhost:7000/', 'http://tempuri.org/calcService') |