n8n/packages
n8n-cat-bot[bot] ca4dc42631 test(core): Lock each call site's timeout deadline at its own call site
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>
2026-09-08 09:48:08 +00:00
..
@n8n Merge tag 'n8n@2.39.0' 2026-09-08 08:25:47 +00:00
cli test(core): Lock each call site's timeout deadline at its own call site 2026-09-08 09:48:08 +00:00
core 🚀 Release 2.39.0 (#38029) 2026-09-08 11:04:45 +03:00
extensions/insights 🚀 Release 2.37.0 (#36986) 2026-08-25 07:32:14 +00:00
frontend Merge tag 'n8n@2.39.0' 2026-09-08 08:25:47 +00:00
modules 🚀 Release 2.39.0 (#38029) 2026-09-08 11:04:45 +03:00
node-dev feat(core): Add encryption usage guardrails (no-changelog) (#37728) 2026-09-04 19:24:29 +00:00
nodes-base 🚀 Release 2.39.0 (#38029) 2026-09-08 11:04:45 +03:00
testing feat(core): Add encryption usage guardrails (no-changelog) (#37728) 2026-09-04 19:24:29 +00:00
workflow 🚀 Release 2.39.0 (#38029) 2026-09-08 11:04:45 +03:00