mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-18 23:09:03 +02:00
The two call sites want different deadlines, and the shared helper alone cannot prove which one each site asked for. Add one test for each: - The poll handler counts a node's synchronous setup against the poll timeout, so the deadline must be armed before poll() runs. - The publication consumer keeps its abort and abandon deadlines ref'd, so a shutdown still reaches the abort and the abandon reporting. Also restore the setTimeout spy in the helper test while the fake timers are still installed, so it cannot leak into a later test. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| @n8n | ||
| cli | ||
| core | ||
| extensions/insights | ||
| frontend | ||
| modules | ||
| node-dev | ||
| nodes-base | ||
| testing | ||
| workflow | ||