blob: 271880c28469ef219b9c93f8af2494230028370e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
https://bugs.gentoo.org/727934
--- a/tornado/test/simple_httpclient_test.py
+++ b/tornado/test/simple_httpclient_test.py
@@ -293,9 +293,9 @@ class SimpleHTTPClientTestMixin(object):
@skipOnTravis
def test_request_timeout(self: typing.Any):
- timeout = 0.1
+ timeout = 5
if os.name == "nt":
- timeout = 0.5
+ timeout = 10
with self.assertRaises(HTTPTimeoutError):
self.fetch("/trigger?wake=false", request_timeout=timeout, raise_error=True)
|