Tests: read_timeout option introduced.
Also, increased default select() timeout from 1s to 5s.
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user