Commit bda3755
Add timeout and KILL fallback to server shutdown
- Add 10-second timeout to Process.wait to prevent indefinite hangs
- Send KILL signal if server doesn't respond to TERM within timeout
- Prevents test runs from hanging if server doesn't shut down gracefully
- Logs warning when escalating from TERM to KILL
This ensures robust cleanup even when servers are unresponsive to
graceful shutdown signals.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 8e2b944 commit bda3755
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
159 | 168 | | |
160 | 169 | | |
161 | 170 | | |
| |||
0 commit comments