amoghrajesh commented on code in PR #71211:
URL: https://github.com/apache/airflow/pull/71211#discussion_r3765784984
##########
providers/amazon/tests/unit/amazon/aws/operators/test_glue.py:
##########
@@ -163,6 +171,62 @@ def test_execute_deferrable(self, _, mock_initialize_job):
assert defer.value.trigger.attempts == 75
assert defer.value.trigger.aws_conn_id == "aws_default"
+ @mock.patch.object(GlueJobHook, "initialize_job")
+ @mock.patch.object(GlueJobHook, "get_conn")
+ def test_deferrable_first_attempt_injects_task_uuid_but_skips_scan(
Review Comment:
Added the missing `get_job_runs.assert_not_called()` assertion, same pattern
as the sibling test.
--
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]