summaryrefslogtreecommitdiff
path: root/test/soap/calc/test_calc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/soap/calc/test_calc.rb')
-rw-r--r--test/soap/calc/test_calc.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/soap/calc/test_calc.rb b/test/soap/calc/test_calc.rb
index e14dbf5daa..528b3e2d49 100644
--- a/test/soap/calc/test_calc.rb
+++ b/test/soap/calc/test_calc.rb
@@ -14,10 +14,11 @@ module Calc
class TestCalc < Test::Unit::TestCase
def setup
@server = CalcServer.new(self.class.name, nil, '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
@calc = SOAP::RPC::Driver.new('http://localhost:7000/', 'http://tempuri.org/calcService')