summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-12-18 11:39:57 -0600
committerJay Mundrawala <jdmundrawala@gmail.com>2015-12-18 11:39:57 -0600
commitfa5cc13823ae8d3008448fa9b42015816679fb15 (patch)
tree5446ac23ef938b8931e716f0c688efd1d9d514c0
parent939b6317aea3f554639cd110f18ee6b5ee185746 (diff)
downloadchef-fa5cc13823ae8d3008448fa9b42015816679fb15.tar.gz
Consistent return value for started?
-rw-r--r--spec/tiny_server.rb1
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,