This is an automated email from the ASF dual-hosted git repository.
vincbeck pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 56b1b391b8d ECS system test occasionally fails with transient timeouts
(#61895)
56b1b391b8d is described below
commit 56b1b391b8de1e4b5e28033f08943830e185e32c
Author: D. Ferruzzi <[email protected]>
AuthorDate: Mon Feb 16 08:43:57 2026 -0800
ECS system test occasionally fails with transient timeouts (#61895)
* ECS system test occasionally fails with transient timeouts
* static checks
* copypasta error
---
providers/amazon/tests/system/amazon/aws/example_ecs.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/providers/amazon/tests/system/amazon/aws/example_ecs.py
b/providers/amazon/tests/system/amazon/aws/example_ecs.py
index 1d6a497a1a0..abd066b36a0 100644
--- a/providers/amazon/tests/system/amazon/aws/example_ecs.py
+++ b/providers/amazon/tests/system/amazon/aws/example_ecs.py
@@ -19,6 +19,7 @@ from __future__ import annotations
from datetime import datetime
import boto3
+from pendulum import duration
from airflow.providers.amazon.aws.hooks.ecs import EcsClusterStates
from airflow.providers.amazon.aws.operators.ecs import (
@@ -182,6 +183,9 @@ with DAG(
# [END howto_operator_ecs_run_task]
# The default is 6 seconds between checks, which is very aggressive,
setting to 60s to reduce throttling errors.
run_task.waiter_delay = 60
+ run_task.retries = 4
+ run_task.retry_exponential_backoff = True
+ run_task.retry_delay = duration(seconds=30)
# [START howto_operator_ecs_deregister_task_definition]
deregister_task = EcsDeregisterTaskDefinitionOperator(