eladkal commented on code in PR #26218:
URL: https://github.com/apache/airflow/pull/26218#discussion_r965196422


##########
airflow/providers/amazon/aws/operators/emr.py:
##########
@@ -650,7 +650,7 @@ def execute(self, context: 'Context') -> Dict:
                     'jobRunId': response['jobRunId'],
                 },
                 parse_response=['jobRun', 'state'],
-                desired_state=EmrServerlessJobSensor.TERMINAL_STATES,
+                desired_state=EmrServerlessJobSensor.SUCCESS_STATES,

Review Comment:
   Do we have test coverage for this?
   
   also Operator imports from Sensor ? :exploding_head:
   The statuses should be defined on the Hook



-- 
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