jedcunningham commented on code in PR #47065:
URL: https://github.com/apache/airflow/pull/47065#discussion_r1977758814
##########
tests/api_fastapi/execution_api/routes/test_task_instances.py:
##########
@@ -654,7 +654,7 @@ def test_ti_update_state_to_failed_with_retries(
assert ti.next_kwargs is None
tih_count = (
- session.query(func.count(TaskInstanceHistory.id))
+ session.query(func.count(TaskInstanceHistory.try_id))
Review Comment:
This should probably be task_instance_id instead.
##########
tests/api_fastapi/execution_api/routes/test_task_instances.py:
##########
Review Comment:
We should also test that the try_id is bumped.
--
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]