Skip to content

Commit 60a06ea

Browse files
authored
tests(urllib3): use an actual broken url (#2995)
The previous test attempted to use a subdomain to mimic a broken resolution but this actually is not broken for later versions of linux + docker.
1 parent 99e42ad commit 60a06ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/contrib/urllib3/test_urllib3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def test_connection_retries(self):
185185
"""Tests a connection error results in error spans with proper exc info"""
186186
retries = 3
187187
try:
188-
self.http.request("GET", "http://fakesubdomain." + SOCKET, retries=retries)
188+
self.http.request("GET", "http://localhost:9999", retries=retries)
189189
except Exception:
190190
pass
191191
else:

0 commit comments

Comments
 (0)