aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-cherrypy/test_timeout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-cherrypy/test_timeout.patch')
-rw-r--r--community/py3-cherrypy/test_timeout.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/py3-cherrypy/test_timeout.patch b/community/py3-cherrypy/test_timeout.patch
new file mode 100644
index 00000000000..738ac453227
--- /dev/null
+++ b/community/py3-cherrypy/test_timeout.patch
@@ -0,0 +1,14 @@
+increase time suggested here:
+https://github.com/cherrypy/cherrypy/issues/1896
+
+--- a/cherrypy/test/test_static.py
++++ b/cherrypy/test/test_static.py
+@@ -76,7 +76,7 @@
+ class Root:
+
+ @cherrypy.expose
+- @cherrypy.config(**{'response.stream': True})
++ @cherrypy.config(**{'response.stream': True, 'server.socket_timeout': 5})
+ def bigfile(self):
+ self.f = static.serve_file(bigfile_filepath)
+ return self.f