Files
hermes-agent/tests/tools
teknium1 fa23de9035 test(bot-mode): live DM retry test no longer hangs CI on a slow runner
test_live_dm_runner_retry_never_reexecutes_failed_claim claimed the queued
DM from a helper thread after a fixed 50 ms sleep. On a loaded runner
_run_delivery had not queued it yet, the claim returned None, the thread's
assert died silently, and _run_delivery waited forever on the mocked
still-live owner (it waits while the owner lives, by design since the
late-reply fix). The 600 s file timeout then failed the whole shard.

The helper now polls for the queued DM (10 s bound) and, if it never
appears, drops the mocked owner so the runner returns and the test fails
on an assertion instead of hanging.
2026-10-04 21:29:04 -07:00
..