lib/honeydew/device.rb in honeydew-0.24.0 vs lib/honeydew/device.rb in honeydew-0.24.1
- old
+ new
@@ -92,10 +92,10 @@
end
def wait_for_honeydew_server
info 'waiting for honeydew-server to respond'
Timeout.timeout(Honeydew.config.server_timeout.to_i, ServerTimeoutError) do
- sleep 0.1 until honeydew_server_alive?
+ Kernel.sleep 0.1 until honeydew_server_alive?
end
info 'honeydew-server is alive and awaiting commands'
rescue ServerTimeoutError
raise 'timed out waiting for honeydew-server to respond'