diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-12-18 11:39:57 -0600 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-12-18 11:39:57 -0600 |
commit | fa5cc13823ae8d3008448fa9b42015816679fb15 (patch) | |
tree | 5446ac23ef938b8931e716f0c688efd1d9d514c0 /spec/tiny_server.rb | |
parent | 939b6317aea3f554639cd110f18ee6b5ee185746 (diff) | |
download | chef-fa5cc13823ae8d3008448fa9b42015816679fb15.tar.gz |
Consistent return value for started?
Diffstat (limited to 'spec/tiny_server.rb')
-rw-r--r-- | spec/tiny_server.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/tiny_server.rb b/spec/tiny_server.rb index 4f887b19ee..ec2a11fe43 100644 --- a/spec/tiny_server.rb +++ b/spec/tiny_server.rb @@ -94,6 +94,7 @@ module TinyServer true rescue Errno::ECONNREFUSED, EOFError, Errno::ECONNRESET => e sleep 0.1 + true # If the host has ":::1 localhost" in its hosts file and if IPv6 # is not enabled we can get NetworkUnreachable exception... rescue Errno::ENETUNREACH, Net::ReadTimeout, IO::EAGAINWaitReadable, |