Commit 763096c
committed
fix: flush stderr after listening log for socket readiness visibility
When server binds socket and logs 'listening', the log may be buffered
in the pipe created by tests (stderr(Stdio::piped())). Tests that poll for
socket existence see the file immediately, but buffering delays visibility.
Flushing ensures tests reliably observe the log.1 parent 73423c1 commit 763096c
3 files changed
Lines changed: 7 additions & 3 deletions
File tree
- controller/deploy/operator/contribute
- rust/jumpstarter-exec/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 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