We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee14293 commit 20782c9Copy full SHA for 20782c9
features/support/testing_api.rb
@@ -36,7 +36,7 @@ def start
36
def responsive?
37
response = Net::HTTP.start('localhost', @port) { |http| http.get('/ping') }
38
response.body == 'OK'
39
- rescue Errno::ECONNREFUSED, Errno::EBADF
+ rescue Errno::ECONNREFUSED, Errno::EBADF, Errno::EADDRNOTAVAIL
40
false
41
end
42
0 commit comments