From 9ea5ed2813c7dc57c8997ef21d779baae19d784c Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Tue, 15 Nov 2022 01:07:41 +0000 Subject: Tests: fixed _check_processes() checks in "--restart" mode. --- test/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/conftest.py') diff --git a/test/conftest.py b/test/conftest.py index ac88675a..bf2951db 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -574,6 +574,10 @@ def _check_processes(): time.sleep(0.1) + if option.restart: + assert len(out) == 0, 'all termimated' + return + assert len(out) == 3, 'main, router, and controller expected' out = [l for l in out if 'unit: main' not in l] -- cgit