You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ashb (via GitHub)" <gi...@apache.org> on 2024/12/13 10:56:58 UTC

[PR] Better error handling to prevent flaky test_last_chance_exception_handling test [airflow]

ashb opened a new pull request, #44909:
URL: https://github.com/apache/airflow/pull/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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Better error handling to prevent flaky test_last_chance_exception_handling test [airflow]

Posted by "ashb (via GitHub)" <gi...@apache.org>.
ashb merged PR #44909:
URL: https://github.com/apache/airflow/pull/44909


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org