Priyaj11 commented on issue #72902:
URL: https://github.com/apache/airflow/issues/72902#issuecomment-5624038884

   Tested amazon 9.36.0rc1 for #72500 (EmrContainerSensor reporting success or 
an unknown job state). Installed apache-airflow-providers-amazon==9.36.0rc1 
into an Airflow 3.1.3
   virtualenv (Python 3.12) and exercised EmrContainerSensor.poke() against 
each state path with the hook mocked:
   COMPLETED       -> True
   RUNNING            -> False
   FAILED                -> raises AirflowException
   SOME_FUTURE_STATE  -> False
   None                    -> False
   The last two are the fix: an unrecognised state and a None response from the 
hook now keep the sensor poking instead of reporting success. The known states 
are unaffected.
   Works as expected from my side.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to