From 6f91a16fc2a753db248f122dea7e4b50763972d1 Mon Sep 17 00:00:00 2001 From: Pcristin Date: Thu, 24 Sep 2026 20:38:20 +0000 Subject: [PATCH] test(cli): keep fixture host until released Signed-off-by: Pcristin --- tests/test_cli.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_cli.c b/tests/test_cli.c index 01fb79ec8..b0284887e 100644 --- a/tests/test_cli.c +++ b/tests/test_cli.c @@ -1653,8 +1653,9 @@ static _Noreturn void cli_scope_host_child(const cli_scope_fixture_t *fixture, i (void)write(ready_fd, &ready, 1); close(ready_fd); bool drained = false; - uint64_t deadline = cbm_now_ms() + 120000U; - while (ready_ok && cbm_now_ms() < deadline) { + /* The parent owns the release pipe. If it exits, poll observes POLLHUP; + * a fixed lifetime can stop a healthy host during a slow binary install. */ + while (ready_ok) { if (cbm_daemon_runtime_service_wait_exited(service, 50U)) { drained = true; break;