Commit af28f82
committed
gh-47798: Test PipelineError signal __str__ and mid-pipeline spawn failure
test_pipeline_error_str_signal covers the negative-returncode rendering
in PipelineError.__str__.
test_pipeline_spawn_failure_cleans_up exercises the run_pipeline
finally-block cleanup when a later stage fails to exec: stage 0 is
already running and sleeping, stage 1's executable does not exist, and
the call must return promptly with the OSError rather than hang on
stage 0.1 parent 6ef0292 commit af28f82
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2284 | 2284 | | |
2285 | 2285 | | |
2286 | 2286 | | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
2287 | 2318 | | |
2288 | 2319 | | |
2289 | 2320 | | |
| |||
0 commit comments