summaryrefslogtreecommitdiff
path: root/test/soap/calc/test_calc2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/soap/calc/test_calc2.rb')
-rw-r--r--test/soap/calc/test_calc2.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/soap/calc/test_calc2.rb b/test/soap/calc/test_calc2.rb
index 1f18a5f222..b7fee71526 100644
--- a/test/soap/calc/test_calc2.rb
+++ b/test/soap/calc/test_calc2.rb
@@ -21,7 +21,7 @@ class TestCalc2 < Test::Unit::TestCase
Thread.current.abort_on_exception = true
@server.start
}
- while @server.server.nil? or @server.server.status != :Running
+ while @server.status != :Running
sleep 0.1
unless @t.alive?
@t.join
@@ -39,7 +39,7 @@ class TestCalc2 < Test::Unit::TestCase
end
def teardown
- @server.server.shutdown
+ @server.shutdown
@t.kill
@t.join
@var.reset_stream