summaryrefslogtreecommitdiffhomepage
path: root/test/conftest.py
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2022-09-13 13:17:16 +0400
committerKonstantin Pavlov <thresh@nginx.com>2022-09-13 13:17:16 +0400
commitce964aa30b163e2b3263c5af57c1a6dae7d0cebb (patch)
tree26bf70c1a5991f6471fc4caed8628e068fdc0b7b /test/conftest.py
parenteba4c3c98fa1bf275d94df8c727f70692ae7eae1 (diff)
parent38bd7e76a134084ab95a4ee3125af1ccd7b35864 (diff)
downloadunit-ce964aa30b163e2b3263c5af57c1a6dae7d0cebb.tar.gz
unit-ce964aa30b163e2b3263c5af57c1a6dae7d0cebb.tar.bz2
Merged with the default branch.1.28.0-1
Diffstat (limited to 'test/conftest.py')
-rw-r--r--test/conftest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/conftest.py b/test/conftest.py
index 904abc32..18851baa 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -20,9 +20,11 @@ from unit.check.isolation import check_isolation
from unit.check.node import check_node
from unit.check.regex import check_regex
from unit.check.tls import check_openssl
+from unit.check.unix_abstract import check_unix_abstract
from unit.http import TestHTTP
from unit.log import Log
from unit.option import option
+from unit.status import Status
from unit.utils import public_dir
from unit.utils import waitforfiles
@@ -213,6 +215,7 @@ def pytest_sessionstart(session):
check_chroot()
check_isolation()
+ check_unix_abstract()
_clear_conf(unit['temp_dir'] + '/control.unit.sock')
@@ -427,6 +430,8 @@ def unit_run(state_dir=None):
controller['pid'] = pid_by_name(controller['name'])
controller['fds'] = _count_fds(controller['pid'])
+ Status._check_zeros()
+
return unit_instance