From d1cb8ab2bb27a864ec6cb21c5e64af315266100d Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 25 Aug 2022 15:50:49 +0100 Subject: Tests: added tests with abstract UNIX sockets. --- test/conftest.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/conftest.py') diff --git a/test/conftest.py b/test/conftest.py index 904abc32..ed19838c 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -20,6 +20,7 @@ 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 @@ -213,6 +214,7 @@ def pytest_sessionstart(session): check_chroot() check_isolation() + check_unix_abstract() _clear_conf(unit['temp_dir'] + '/control.unit.sock') -- cgit From 6915ce1d1ca08ee72de1bafba1514a458b72116c Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Mon, 5 Sep 2022 23:06:16 +0100 Subject: Tests: added tests for basic statistics. --- test/conftest.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/conftest.py') diff --git a/test/conftest.py b/test/conftest.py index ed19838c..18851baa 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -24,6 +24,7 @@ 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 @@ -429,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 -- cgit