Commit ba8dd0c
authored
test(node-core): Fix flaky cron instrumentation test (#21092)
## Summary
`suites/cron/cron/test.ts` in `node-core-integration-tests` was still
timing out occasionally on CI (issue #20971). The scenario exits the
child process after `5000` ms and the vitest test uses the default
timeout, leaving little headroom for two cron ticks (`* * * * * *`) plus
the HTTP envelope round-trips through `withMockSentryServer()`.
## Root cause
The sibling test in `node-integration-tests` had the same flake symptom
previously (#20652 / #20663) and was already adjusted to a `15_000` ms
process-exit timeout and a `30_000` ms vitest test timeout. The
`node-core-integration-tests` version still carried the original tight
budgets (`5000` ms / vitest default), so it remained susceptible to the
same timing pressure.
This change mirrors the working sibling pattern verbatim — no assertions
are altered, no coverage is loosened, only the wall-clock budget grows.
Fixes #20971
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>1 parent 170161b commit ba8dd0c
2 files changed
Lines changed: 2 additions & 2 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments