summaryrefslogtreecommitdiffhomepage
path: root/test/conftest.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-09-05 23:06:16 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2022-09-05 23:06:16 +0100
commit6915ce1d1ca08ee72de1bafba1514a458b72116c (patch)
tree2e45cf7e1ca04fd7216d9c31cbc9cd91f6af1c3f /test/conftest.py
parent3ea113fcb7261a0be3b9dc8d32c402da1bcfadaa (diff)
downloadunit-6915ce1d1ca08ee72de1bafba1514a458b72116c.tar.gz
unit-6915ce1d1ca08ee72de1bafba1514a458b72116c.tar.bz2
Tests: added tests for basic statistics.
Diffstat (limited to 'test/conftest.py')
-rw-r--r--test/conftest.py3
1 files changed, 3 insertions, 0 deletions
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