Commit 17bf497
committed
test(testing): raise waitForText poll default 5000->10000ms to de-flake render tests
The vitest gate flaked a 2nd time — screenshot.test.ts "preserves 256-color
codes" timed out after 5000ms waiting for ORANGE. #116 raised VITEST's
testTimeout (15000ms), but the real 5000ms is waitForText's OWN internal poll
timeout (src/testing/session.ts), which #116 never touched — so terminal render
under CI load still tripped it. Raise the waitForText/waitForAbsent/waitFor
default to 10000ms, matching the explicit 10000-15000ms render-heavy tests
already pass (scrollback-fidelity.test.ts) and staying under screenshot's
15000ms vitest testTimeout. Only affects failure/slow-wait latency; a matching
wait returns immediately.
Folded into this PR so it fixes BOTH required-gate flakes (parity teardown
ENOTEMPTY + screenshot render timeout) and one CI run validates both.1 parent 55a6d0a commit 17bf497
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
290 | 299 | | |
291 | | - | |
| 300 | + | |
292 | 301 | | |
293 | 302 | | |
294 | 303 | | |
| |||
302 | 311 | | |
303 | 312 | | |
304 | 313 | | |
305 | | - | |
| 314 | + | |
306 | 315 | | |
307 | 316 | | |
308 | 317 | | |
| |||
318 | 327 | | |
319 | 328 | | |
320 | 329 | | |
321 | | - | |
| 330 | + | |
322 | 331 | | |
323 | 332 | | |
324 | 333 | | |
| |||
0 commit comments