kaxil commented on a change in pull request #8852:
URL: https://github.com/apache/airflow/pull/8852#discussion_r439145155



##########
File path: tests/models/test_dagrun.py
##########
@@ -564,6 +565,27 @@ def with_all_tasks_removed(dag):
         flaky_ti.refresh_from_db()
         self.assertEqual(State.NONE, flaky_ti.state)
 
+    @mock.patch('airflow.models.dagrun.task_instance_mutation_hook')

Review comment:
       https://github.com/apache/airflow/pull/8852#discussion_r428262018 Based 
on our discussion in that comment if in future someone removes L468, no test 
would fail but it would break the behaviour that ti_mutation_hook won't work on 
ti that are up for retry.




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

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


Reply via email to