diff options
Diffstat (limited to 'test/soap/helloworld/test_helloworld.rb')
-rw-r--r-- | test/soap/helloworld/test_helloworld.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/soap/helloworld/test_helloworld.rb b/test/soap/helloworld/test_helloworld.rb index 1e9c4a3966..7261e42f19 100644 --- a/test/soap/helloworld/test_helloworld.rb +++ b/test/soap/helloworld/test_helloworld.rb @@ -21,7 +21,7 @@ class TestHelloWorld < 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 @@ -34,7 +34,7 @@ class TestHelloWorld < Test::Unit::TestCase end def teardown - @server.server.shutdown + @server.shutdown @t.kill @t.join @client.reset_stream |