Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 7e91933

Browse files
committed
Remove timeout in flaky proxy tests
1 parent 2d60b07 commit 7e91933

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/with_dummyserver/test_proxy_poolmanager.py

-4
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,13 @@ def test_cross_host_redirect(self):
131131
"GET",
132132
"%s/redirect" % self.http_url,
133133
fields={"target": cross_host_location},
134-
timeout=LONG_TIMEOUT,
135134
retries=0,
136135
)
137136

138137
r = http.request(
139138
"GET",
140139
"%s/redirect" % self.http_url,
141140
fields={"target": "%s/echo?a=b" % self.http_url_alt},
142-
timeout=LONG_TIMEOUT,
143141
retries=1,
144142
)
145143
assert r._pool.host != self.http_host_alt
@@ -152,15 +150,13 @@ def test_cross_protocol_redirect(self):
152150
"GET",
153151
"%s/redirect" % self.http_url,
154152
fields={"target": cross_protocol_location},
155-
timeout=LONG_TIMEOUT,
156153
retries=0,
157154
)
158155

159156
r = http.request(
160157
"GET",
161158
"%s/redirect" % self.http_url,
162159
fields={"target": "%s/echo?a=b" % self.https_url},
163-
timeout=LONG_TIMEOUT,
164160
retries=1,
165161
)
166162
assert r._pool.host == self.https_host

0 commit comments

Comments
 (0)