summaryrefslogtreecommitdiffhomepage
path: root/test/test_proxy.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-04-20 14:04:55 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2020-04-20 14:04:55 +0100
commit8f6e6086cb7bceeff6eec7cf0a2e3ff94f8d7705 (patch)
tree8251ab3d737d93cdc7ac062b409ec4e6ecd2a388 /test/test_proxy.py
parent9877087756144d3bdf343d0d4e91e1efbcc62c93 (diff)
downloadunit-8f6e6086cb7bceeff6eec7cf0a2e3ff94f8d7705.tar.gz
unit-8f6e6086cb7bceeff6eec7cf0a2e3ff94f8d7705.tar.bz2
Tests: skips adjusted.
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r--test/test_proxy.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py
index 74bd0873..b539d5f6 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -601,8 +601,14 @@ Content-Length: 10
'proxy ipv6 invalid 4',
)
- @unittest.skip('not yet')
def test_proxy_loop(self):
+ self.skip_alerts.extend(
+ [
+ r'socket.*failed',
+ r'accept.*failed',
+ r'new connections are not accepted',
+ ]
+ )
self.conf(
{
"listeners": {
@@ -625,6 +631,7 @@ Content-Length: 10
)
self.get_http10(no_recv=True)
+ self.get_http10(read_timeout=1)
if __name__ == '__main__':
TestProxy.main()