Commit c327f71
committed
test(webapp): stop streamBatchItems container tests timing out on cold start
The streamBatchItems suite was intermittently failing with a 30s test
timeout. The 30s budget covers container-fixture setup, and each of the
16 cases boots its own per-test Redis container and spins up a full
RunEngine; a cold container boot counts against the test's own timeout,
so under CI Docker contention whichever test booted while Docker was
busiest could exceed 30s. It is not a product-logic hang.
Two changes:
- Add a containerTestWithIsolatedRedisNoClickhouse fixture (Postgres
template-clone + per-test Redis, no ClickHouse) and use it here. These
tests never touch ClickHouse, yet the previous fixture's auto
resetClickhouse forced a ClickHouse boot + full migration onto the
cold-start test.
- Raise the suite testTimeout from 30s to 120s, matching the run-engine
package convention for tests of this footprint (RunEngine + per-test
container).1 parent f5f29ce commit c327f71
2 files changed
Lines changed: 31 additions & 3 deletions
File tree
- apps/webapp/test/engine
- internal-packages/testcontainers/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
539 | 561 | | |
540 | 562 | | |
541 | 563 | | |
| |||
0 commit comments