From e3db32a7c40197ca0a0efbfcd05971e29b222fdd Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 27 May 2023 13:24:33 +0000 Subject: Adding metadata --- .../files/tornado-6.3.2-test-timeout-increase.patch | 15 +++++++++++++++ dev-python/tornado/tornado-6.3.2.ebuild | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 dev-python/tornado/files/tornado-6.3.2-test-timeout-increase.patch (limited to 'dev-python/tornado') diff --git a/dev-python/tornado/files/tornado-6.3.2-test-timeout-increase.patch b/dev-python/tornado/files/tornado-6.3.2-test-timeout-increase.patch new file mode 100644 index 000000000000..271880c28469 --- /dev/null +++ b/dev-python/tornado/files/tornado-6.3.2-test-timeout-increase.patch @@ -0,0 +1,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) diff --git a/dev-python/tornado/tornado-6.3.2.ebuild b/dev-python/tornado/tornado-6.3.2.ebuild index 4ffb76fd8ddb..fd6a977a02fb 100644 --- a/dev-python/tornado/tornado-6.3.2.ebuild +++ b/dev-python/tornado/tornado-6.3.2.ebuild @@ -35,6 +35,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${PN}-6.3.2-test-timeout-increase.patch +) + src_prepare() { # network-sandbox? ipv6? sed -i -e 's:test_localhost:_&:' \ -- cgit v1.3