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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/soap/calc/test_calc.rb b/test/soap/calc/test_calc.rb
index d73ade4ac3..c917ddcf9e 100644
--- a/test/soap/calc/test_calc.rb
+++ b/test/soap/calc/test_calc.rb
@@ -20,7 +20,7 @@ class TestCalc < Test::Unit::TestCase
@t = Thread.new {
@server.start
}
- while @server.server.nil? or @server.server.status != :Running
+ while @server.status != :Running
sleep 0.1
unless @t.alive?
@t.join
@@ -36,7 +36,7 @@ class TestCalc < Test::Unit::TestCase
end
def teardown
- @server.server.shutdown
+ @server.shutdown
@t.kill
@t.join
@calc.reset_stream