amichai07 commented on a change in pull request #4751: [AIRFLOW-3607] collected
trigger rule dep check per dag run
URL: https://github.com/apache/airflow/pull/4751#discussion_r365532675
##########
File path: tests/models/test_dagrun.py
##########
@@ -229,7 +229,7 @@ def test_dagrun_deadlock(self):
start_date=now)
ti_op1 = dr.get_task_instance(task_id=op1.task_id)
- ti_op1.set_state(state=State.SUCCESS, session=session)
+ ti_op1.set_state(state=State.FAILED, session=session)
Review comment:
You are right, But it means the dr should have been 'failed' instead of
'running'. I will change it the task to 'success' and the state of the dagrun
to 'failed' and then it will be as intended.
----------------------------------------------------------------
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]
With regards,
Apache Git Services