24 lines
758 B
Diff
24 lines
758 B
Diff
|
Index: cheroot-9.0.0/cheroot/test/conftest.py
|
||
|
===================================================================
|
||
|
--- cheroot-9.0.0.orig/cheroot/test/conftest.py
|
||
|
+++ cheroot-9.0.0/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, wsgi_server,
|
||
|
@@ -28,6 +28,9 @@ def http_request_timeout():
|
||
|
if IS_WINDOWS:
|
||
|
computed_timeout *= 10
|
||
|
|
||
|
+ if PLATFORM_ARCH == 's390x':
|
||
|
+ computed_timeout *= 2
|
||
|
+
|
||
|
return computed_timeout
|
||
|
|
||
|
|