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.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/soap/calc/test_calc.rb b/test/soap/calc/test_calc.rb
index e3304a415b..4e50617f0c 100644
--- a/test/soap/calc/test_calc.rb
+++ b/test/soap/calc/test_calc.rb
@@ -22,6 +22,10 @@ class TestCalc < Test::Unit::TestCase
}
while @server.server.nil? or @server.server.status != :Running
sleep 0.1
+ unless @t.alive?
+ @t.join
+ raise
+ end
end
@calc = SOAP::RPC::Driver.new("http://localhost:#{Port}/", 'http://tempuri.org/calcService')
@calc.add_method('add', 'lhs', 'rhs')
@@ -33,6 +37,7 @@ class TestCalc < Test::Unit::TestCase
def teardown
@server.server.shutdown
@t.kill
+ @t.join
end
def test_calc