Commit f81bbcc
committed
fix: flush stderr after listening log and don't kill child on disconnect
Two fixes for jumpstarter-exec test failures:
1. Flush stderr after logging 'listening' so tests that poll for socket
creation see the buffered log output.
2. Don't send SIGTERM to child process on client disconnect. Let child
finish naturally so output forwarding threads can read any remaining
stdout/stderr. Main thread reaps with wait().
Fixes test e2e_debug_json_logs_commands_and_io and related E2E tests.1 parent 73423c1 commit f81bbcc
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
| |||
366 | 369 | | |
367 | 370 | | |
368 | 371 | | |
369 | | - | |
370 | | - | |
371 | | - | |
| 372 | + | |
| 373 | + | |
372 | 374 | | |
373 | 375 | | |
374 | 376 | | |
| |||
0 commit comments