Skip to content

Commit 20782c9

Browse files
author
Kjetil JD
authored
Accept EADDRNOTAVAIL for bogus test player URL
Seems that when running the tests in the Docker container we get a different error message.
1 parent ee14293 commit 20782c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/support/testing_api.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def start
3636
def responsive?
3737
response = Net::HTTP.start('localhost', @port) { |http| http.get('/ping') }
3838
response.body == 'OK'
39-
rescue Errno::ECONNREFUSED, Errno::EBADF
39+
rescue Errno::ECONNREFUSED, Errno::EBADF, Errno::EADDRNOTAVAIL
4040
false
4141
end
4242

0 commit comments

Comments
 (0)