Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

test(daemon-app): yield in the terminal-job wait like every sibling helper

Martin Vogel8268af4188f6
diff --git a/tests/test_daemon_application.c b/tests/test_daemon_application.c
index 2911d07df..934944c90 100644
--- a/tests/test_daemon_application.c
+++ b/tests/test_daemon_application.c
@@ -1471,6 +1471,10 @@ static bool app_wait_for_terminal_job_with_subscribers(cbm_daemon_application_t
cbm_daemon_application_job_subscribers(application, project) >= minimum_subscribers) {
return true;
}
+ /* Yield like every sibling wait helper: a sleepless spin pins a core
+ * and can starve the daemon threads it polls on scarce-CPU runners
+ * (windows-11-arm release leg, run 30305464193). */
+ cbm_usleep(1000);
}
return false;
}