summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_procman.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-02-27 19:43:14 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-02-27 19:43:14 +0300
commitbd77c9a4d2b0f6f609e033060a5486c0afe6b19e (patch)
tree2a8c4475f96d5a8195451728318e68c67a5c4fb6 /test/test_python_procman.py
parent4de2c8b56719fce6b95b6f8a613b349590a3676f (diff)
downloadunit-bd77c9a4d2b0f6f609e033060a5486c0afe6b19e.tar.gz
unit-bd77c9a4d2b0f6f609e033060a5486c0afe6b19e.tar.bz2
Tests: read_timeout option introduced.
Also, increased default select() timeout from 1s to 5s.
Diffstat (limited to 'test/test_python_procman.py')
-rw-r--r--test/test_python_procman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_python_procman.py b/test/test_python_procman.py
index 65268d49..2efe59c0 100644
--- a/test/test_python_procman.py
+++ b/test/test_python_procman.py
@@ -226,7 +226,7 @@ class TestUnitPythonProcman(unit.TestUnitApplicationPython):
(resp, sock) = self.get(headers={
'Host': 'localhost',
'Connection': 'keep-alive'
- }, start=True)
+ }, start=True, read_timeout=1)
self.assertEqual(len(self.pids_for_process()), 1,
'keepalive connection 1')