Files
python-cheroot/increase-tests-timeouts.patch
Matej Cepl cb9b5d70b4 Accepting request 1176149 from home:mcalabkova:branches:devel:languages:python
It was a bug in requests-unixsocket

- Update to 10.0.1
  * Fixed a flaw where internally unhandled exceptions could crash the
    worker threads and eventually starve the server of its processing
    resources.
  * Fixed compatibility with Python 3.8 in the built-in TLS adapter that
    relies on :pypython:ssl.

OBS-URL: https://build.opensuse.org/request/show/1176149
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=63
2024-05-27 14:13:00 +00:00

24 lines
748 B
Diff

Index: cheroot-10.0.1/cheroot/test/conftest.py
===================================================================
--- cheroot-10.0.1.orig/cheroot/test/conftest.py
+++ cheroot-10.0.1/cheroot/test/conftest.py
@@ -9,7 +9,7 @@ import time
import pytest
-from cheroot._compat import IS_MACOS, IS_WINDOWS # noqa: WPS436
+from cheroot._compat import IS_MACOS, IS_WINDOWS, PLATFORM_ARCH # noqa: WPS436
from cheroot.server import Gateway, HTTPServer
from cheroot.testing import ( # noqa: F401 # pylint: disable=unused-import
native_server,
@@ -31,6 +31,9 @@ def http_request_timeout():
if IS_WINDOWS:
computed_timeout *= 10
+ if PLATFORM_ARCH == 's390x':
+ computed_timeout *= 2
+
return computed_timeout