Commit 170ea8cc authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub

bpo-19756: Prevent test failures due to EADDRNOTAVAIL (GH-9446)

(cherry picked from commit 8213eadd)
Co-authored-by: default avatarBerker Peksag <berker.peksag@gmail.com>
parent 49d65958
......@@ -1151,6 +1151,9 @@ def transient_internet(resource_name, timeout=30.0, errnos=()):
('EHOSTUNREACH', 113),
('ENETUNREACH', 101),
('ETIMEDOUT', 110),
# socket.create_connection() fails randomly with
# EADDRNOTAVAIL on Travis CI.
('EADDRNOTAVAIL', 99),
]
default_gai_errnos = [
('EAI_AGAIN', -3),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment