From f463149d029c8e28d07c4be527058b81ae8f7f8b Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Mon, 5 Oct 2026 23:27:05 +0200 Subject: [PATCH] test: report systemd readiness preflight errors --- scripts/smoke-service-unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/smoke-service-unit.py b/scripts/smoke-service-unit.py index 00833a24..4bcbf464 100644 --- a/scripts/smoke-service-unit.py +++ b/scripts/smoke-service-unit.py @@ -164,7 +164,7 @@ exit {42 if fail_action else 0} '--ready-timeout-s', '2', env=fault_env, check=False) assert bad.returncode != 0, bad.stdout actions = [line.split('|')[2] for line in commands.read_text().splitlines()] - assert actions.count('start') == 1 and all(a in ('start','show') for a in actions), actions + assert actions.count('start') == 1 and all(a in ('start','show') for a in actions), (actions, bad.stderr, bad.stdout) finally: changed_http.shutdown(); changed_http.server_close(); changed_thread.join(timeout=5) fault_unit.write_bytes(retained)