amoghrajesh commented on code in PR #46020:
URL: https://github.com/apache/airflow/pull/46020#discussion_r1932011420
##########
tests/api_fastapi/execution_api/routes/test_task_instances.py:
##########
@@ -655,6 +655,40 @@ def
test_ti_update_state_to_failed_without_retry_table_check(self, client, sessi
assert ti.next_kwargs is None
assert ti.duration == 3600.00
+ @pytest.mark.parametrize(
+ ("state", "expected_status_code"),
+ [
+ (State.RUNNING, 204),
+ (State.SUCCESS, 409),
+ (State.QUEUED, 409),
+ (State.FAILED, 409),
Review Comment:
Added in last commit
--
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]