Commit 7903296
fix(e2e): prevent timeout from hanging by exiting immediately
When timeout occurs, immediately kill the process and exit the loop
without waiting for stdout/stderr pipes to drain. This prevents tests
from hanging indefinitely on platforms where child processes don't
close pipes properly after being killed.
The previous implementation waited for pipes to close after timeout,
which could hang if the process tree (sh -> vite -> node) didn't
terminate cleanly.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent e62ad61 commit 7903296
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | 272 | | |
274 | 273 | | |
275 | 274 | | |
| |||
0 commit comments