✅(worker) Bump e2e test timeouts from 1s to 5s (#6386) master
E2e tests were timing out with "Property timeout: exceeded limit of 1000 milliseconds" errors in CI, particularly in `nonSerializableButSameData.spec.ts`. ## Changes - Increased `assertTimeout` from 1000ms to 5000ms across all 13 e2e test files in `packages/worker/test/e2e/` - Updated expected error message in `blockEventLoop.spec.ts` to match new 5000ms timeout value The 5-second timeout provides adequate execution time for property-based tests under constrained CI environments. <!-- START COPILOT CODING AGENT SUFFIX --> <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > bump the timeouts in e2e of worker to 5s, to drop these errors > > > FAIL @fast-check/worker test/e2e/nonSerializableButSameData.spec.ts[2m > @fast-check/worker[2m > should produce the same data in worker and main thread > AssertionError: expected 'Error: Property failed after 1 tests\…' to match />>>nonSerializableButSameDataProperty…/ > > - Expected: > />>>nonSerializableButSameDataProperty=(.*)<<</ > > + Received: > "Error: Property failed after 1 tests > { seed: -1454768394, path: \"0\", endOnFailure: true } > Counterexample: [Symbol.for(\"-962\")] > Shrunk 0 time(s) > Got error: Property timeout: exceeded limit of 1000 milliseconds > at Timeout.<anonymous> (D:/a/fast-check/fast-check/packages/fast-check/lib/check/property/TimeoutProperty.js:6:30) > at listOnTimeout (node:internal/timers:605:17) > at processTimers (node:internal/timers:541:7) > > Hint: Enable verbose mode in order to have the list of all failing values encountered during the run" > > [2m❯ test/e2e/nonSerializableButSameData.spec.ts:[2m36:27 > 34| const workerValueRegex = />>>nonSerializableButSameDataPrope… > 35| expect(message).toMatch(mainValueRegex); > 36| expect(message).toMatch(workerValueRegex); > | ^ > 37| const mainValue = mainValueRegex.exec(message)![1]; > 38| const workerValue = workerValueRegex.exec(message)![1]; </details> <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dubzzz <5300235+dubzzz@users.noreply.github.com>