summaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2020-11-11 14:18:13 -0800
committerTim Burke <tim.burke@gmail.com>2020-11-11 14:23:40 -0800
commit918ab8543ecf93c98e1cb49640b68e7a181f9a50 (patch)
treeb835f5952b429831a1ac14946750bfde4afbd8f3 /test/functional
parent90c737e3550a3fee1c7581c3050ea64f2a9255cd (diff)
downloadswift-918ab8543ecf93c98e1cb49640b68e7a181f9a50.tar.gz
Use socket_timeout kwarg instead of useless eventlet.wsgi.WRITE_TIMEOUT
No version of eventlet that I'm aware of hasany sort of support for eventlet.wsgi.WRITE_TIMEOUT; I don't know why we've been setting that. On the other hand, the socket_timeout argument for eventlet.wsgi.Server has been supported for a while -- since 0.14 in 2013. Drive-by: Fix up handling of sub-second client_timeouts. Change-Id: I1dca3c3a51a83c9d5212ee5a0ad2ba1343c68cf9 Related-Change: I1d4d028ac5e864084a9b7537b140229cb235c7a3 Related-Change: I433c97df99193ec31c863038b9b6fd20bb3705b8
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/__init__.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/functional/__init__.py b/test/functional/__init__.py
index 5bfe7f976..4c25683bb 100644
--- a/test/functional/__init__.py
+++ b/test/functional/__init__.py
@@ -647,9 +647,6 @@ def in_process_setup(the_object_server=object_server):
'port': con2lis.getsockname()[1]}], 30),
f)
- # Default to only 4 seconds for in-process functional test runs
- eventlet.wsgi.WRITE_TIMEOUT = 4
-
def get_logger_name(name):
if show_debug_logs:
return debug_logger(name)