From bd77c9a4d2b0f6f609e033060a5486c0afe6b19e Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Wed, 27 Feb 2019 19:43:14 +0300 Subject: Tests: read_timeout option introduced. Also, increased default select() timeout from 1s to 5s. --- test/test_python_procman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_python_procman.py') 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') -- cgit