Repository navigation
Commit 4fb874f
committed
test(sandbox): bind ephemeral port in accepted loopback stream test
The test reserved a loopback port, released it, and rebound it inside the
workload. A concurrent nextest process could claim the port in between,
failing the bind and surfacing only as a RecvError on the ready channel.
Bind port 0 in the workload and send the assigned address instead, and
report the workload error when the listener never becomes ready.
Signed-off-by: Kris Hicks <khicks@nvidia.com>1 parent cfcc373 commit 4fb874f
1 file changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2214 | 2214 | | |
2215 | 2215 | | |
2216 | 2216 | | |
2217 | | - | |
2218 | | - | |
2219 | | - | |
2220 | | - | |
2221 | 2217 | | |
2222 | 2218 | | |
2223 | 2219 | | |
2224 | 2220 | | |
2225 | 2221 | | |
2226 | 2222 | | |
2227 | 2223 | | |
2228 | | - | |
| 2224 | + | |
2229 | 2225 | | |
2230 | | - | |
| 2226 | + | |
2231 | 2227 | | |
2232 | 2228 | | |
2233 | 2229 | | |
| |||
2256 | 2252 | | |
2257 | 2253 | | |
2258 | 2254 | | |
2259 | | - | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
2260 | 2262 | | |
2261 | 2263 | | |
2262 | 2264 | | |
| |||
0 commit comments