Commit beec5b7
michael stack
Fix port retry in fdb_cluster_fixture by grepping stderr separately
The blob_backup_restore_tests ctest fails on busy CI instances when
ports are already in use by parallel tests. The existing loop retried
on port-in-use errors by grepping the output file for 'Local address
in use', but both stdout and stderr were tee'd to the same output file
via async process substitution, causing races where the grep misses
the error string and the loop exits prematurely.
Fix: tee stderr to a separate file (output.stderr) so the grep for
'Local address in use' is reliable and not corrupted by interleaved
stdout. Non-port-in-use failures still fail immediately with stderr
printed for debugging.1 parent 043ec0b commit beec5b7
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
0 commit comments