gentoo/dev-python/tornado/files/tornado-6.3.2-test-timeout-increase.patch
Sam James 0a25391ed0
dev-python/tornado: increase test timeout
Closes: https://bugs.gentoo.org/727934
Signed-off-by: Sam James <sam@gentoo.org>
2023-05-27 10:15:30 +01:00

16 lines
521 B
Diff

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)