jstern commented on a change in pull request #7133: [AIRFLOW-6535] add
exception to fail without retry
URL: https://github.com/apache/airflow/pull/7133#discussion_r376510228
##########
File path: tests/models/test_taskinstance.py
##########
@@ -1475,6 +1476,8 @@ def test_handle_failure(self):
dag=dag)
ti1 = TI(task=task1, execution_date=start_date)
ti1.state = State.FAILED
+ ti1.start_date = start_date
+ ti1.end_date = end_date
Review comment:
Actually, I needed to do something to make sure my boiling down of the
logging.info call into one spot also incorporated that safety check. I've done
that now and removed the start_date/end_date assignments from the test again
----------------------------------------------------------------
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