Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better error handling to prevent flaky test_last_chance_exception_han…
…dling test (apache#44909) If the launched subprocess (which in tests just _immediately_ raises an Exception) exits very quickly before we even try to send the startup message it would fail with a BrokenPipeError. All we need to do in this case is handle it as the exit code of the task and it's message (which we already test) will cover it. This particular behaviour is hard to reliably catch in tests, so no tests are added here.
- Loading branch information