test: extend webpack timeout for dynamic-params-retained-cache (#100382)
### What? Raise the per-test timeout to 120s for `test/production/app-dir/dynamic-params-retained-cache` when it runs with webpack. Turbopack keeps the default 60s. ### Why? The test runs two production builds and two servers inside one `it`, so the whole sequence shares jest's 60s budget. Recent webpack production CI passes took about 26–48s. On a slower runner the test timed out right after the second server became ready, after both builds had completed ([job](https://github.com/vercel/next.js/actions/runs/38431444892/job/115418819665)). This follows the existing webpack-only timeout used by `server-action-period-hash`, which also runs two builds. ### How? Add `jest.setTimeout(120_000)` behind `IS_WEBPACK_TEST`, with a short comment. ### Verification - `pnpm test-start-webpack test/production/app-dir/dynamic-params-retained-cache/dynamic-params-retained-cache.test.ts` - `pnpm test-start-turbo test/production/app-dir/dynamic-params-retained-cache/dynamic-params-retained-cache.test.ts` <!-- NEXT_JS_LLM --> <!-- fleet 34574f75-75ca-4871-9010-7480c809fbc7 --> Co-authored-by:vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com> Co-authored-by:
Tobias Koppers <1365881+sokra@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment