summaryrefslogtreecommitdiffhomepage
path: root/test/python/delayed
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-04-03 01:49:18 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2020-04-03 01:49:18 +0100
commita49023229ec0a404665a711fbf35f6b3bf715825 (patch)
tree6b9050df0ea87e3d7cf4f707dd9a17311df41aa9 /test/python/delayed
parentd7aa514d6a586115f0b05d5d6465787da1fa9b6c (diff)
downloadunit-a49023229ec0a404665a711fbf35f6b3bf715825.tar.gz
unit-a49023229ec0a404665a711fbf35f6b3bf715825.tar.bz2
Tests: use "return" action in upstream tests.
Diffstat (limited to 'test/python/delayed')
-rw-r--r--test/python/delayed/wsgi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/python/delayed/wsgi.py b/test/python/delayed/wsgi.py
index d25e2765..3eb5a6f8 100644
--- a/test/python/delayed/wsgi.py
+++ b/test/python/delayed/wsgi.py
@@ -11,6 +11,7 @@ def application(environ, start_response):
write = start_response('200', [('Content-Length', str(len(body)))])
if not body:
+ time.sleep(delay)
return []
step = int(len(body) / parts)