summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-03-01 18:58:16 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-03-01 18:58:16 +0300
commitea844a4444c2daa6d4f756663a96b13ee45a5aeb (patch)
tree56459cbae0be85aa048fa3014845ad63204457a4
parentae36276cfc9ce2ecfb09be4d4c16e0b1b81901ee (diff)
downloadunit-ea844a4444c2daa6d4f756663a96b13ee45a5aeb.tar.gz
unit-ea844a4444c2daa6d4f756663a96b13ee45a5aeb.tar.bz2
Tests: skip more alerts.
-rw-r--r--test/test_configuration.py4
-rw-r--r--test/test_python_application.py5
2 files changed, 7 insertions, 2 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py
index 52a67d38..67a8946e 100644
--- a/test/test_configuration.py
+++ b/test/test_configuration.py
@@ -241,8 +241,8 @@ class TestUnitConfiguration(unit.TestUnitControl):
def test_json_application_many(self):
self.skip_alerts.extend([
r'eventfd.+failed',
- r'epoll_create.+failed',
- r'failed to apply new conf'
+ r'epoll.+failed',
+ r'failed to apply'
])
apps = 999
diff --git a/test/test_python_application.py b/test/test_python_application.py
index a8631085..1e8d5cc5 100644
--- a/test/test_python_application.py
+++ b/test/test_python_application.py
@@ -131,6 +131,11 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython):
self.assertEqual(resp['body'], '0123456789', 'keep-alive 2')
def test_python_keepalive_reconfigure(self):
+ self.skip_alerts.extend([
+ r'pthread_mutex.+failed',
+ r'failed to apply',
+ r'process \d+ exited on signal'
+ ])
self.load('mirror')
body = '0123456789'