summaryrefslogtreecommitdiff
path: root/test/xmlrpc/webrick_testing.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/xmlrpc/webrick_testing.rb')
-rw-r--r--test/xmlrpc/webrick_testing.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/xmlrpc/webrick_testing.rb b/test/xmlrpc/webrick_testing.rb
index a6830cece1..eb054a77e7 100644
--- a/test/xmlrpc/webrick_testing.rb
+++ b/test/xmlrpc/webrick_testing.rb
@@ -23,14 +23,14 @@ module WEBrick_Testing
}
Timeout.timeout(5) {
- nil until @__started # wait until the server is ready
+ Thread.pass until @__started # wait until the server is ready
}
end
def stop_server
Timeout.timeout(5) {
@__server.shutdown
- nil while @__started # wait until the server is down
+ Thread.pass while @__started # wait until the server is down
}
@__server = nil
end