diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-02-20 20:28:29 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-02-20 20:28:29 +0300 |
commit | 955050aea3148595fde027319fd427369856ebc9 (patch) | |
tree | a5d736ae16fa11f95f27f3137427ce67ff6a01a8 /test/test_python_application.py | |
parent | 09fb847cc731d133b2016ff6982ab95aa43794ca (diff) | |
download | unit-955050aea3148595fde027319fd427369856ebc9.tar.gz unit-955050aea3148595fde027319fd427369856ebc9.tar.bz2 |
Tests: skip sendmsg()/recvmsg() alerts for all tests.
Currently, these alerts may appear in the log when any application exits.
Diffstat (limited to '')
-rw-r--r-- | test/test_python_application.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py index b28675f9..d37af0c4 100644 --- a/test/test_python_application.py +++ b/test/test_python_application.py @@ -87,7 +87,6 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython): '204 header transfer encoding') def test_python_application_ctx_iter_atexit(self): - self.skip_alerts.append(r'sendmsg.+failed') self.load('ctx_iter_atexit') resp = self.post(headers={ @@ -131,10 +130,6 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython): self.assertEqual(resp['body'], '0123456789', 'keep-alive 2') def test_python_keepalive_reconfigure(self): - self.skip_alerts.extend([ - r'sendmsg.+failed', - r'recvmsg.+failed' - ]) self.load('mirror') body = '0123456789' @@ -183,7 +178,6 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython): }, 'applications/mirror/processes'), 'reconfigure 3') def test_python_keepalive_reconfigure_2(self): - self.skip_alerts.append(r'sendmsg.+failed') self.load('mirror') body = '0123456789' @@ -217,7 +211,6 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython): self.assertEqual(resp, {}, 'reconfigure 2 keep-alive 3') def test_python_keepalive_reconfigure_3(self): - self.skip_alerts.append(r'sendmsg.+failed') self.load('empty') (resp, sock) = self.http(b"""GET / HTTP/1.1 @@ -236,7 +229,6 @@ Connection: close self.assertEqual(resp['status'], 200, 'reconfigure 3') def test_python_atexit(self): - self.skip_alerts.append(r'sendmsg.+failed') self.load('atexit') self.get() |