This is an automated email from the ASF dual-hosted git repository.

vatsrahul1001 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 0e9901711d7 Fix AwsBatchExecutor test_try_adopt_task_instances after 
TaskInstanceDTO hostname requirement (#68871)
0e9901711d7 is described below

commit 0e9901711d7c1ac0c89ef67bc14e8b79af3c2e14
Author: Sean Ghaeli <[email protected]>
AuthorDate: Mon Jun 22 20:27:14 2026 -0700

    Fix AwsBatchExecutor test_try_adopt_task_instances after TaskInstanceDTO 
hostname requirement (#68871)
---
 .../amazon/tests/unit/amazon/aws/executors/batch/test_batch_executor.py  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/providers/amazon/tests/unit/amazon/aws/executors/batch/test_batch_executor.py 
b/providers/amazon/tests/unit/amazon/aws/executors/batch/test_batch_executor.py
index e990c657b9e..cf929e48d14 100644
--- 
a/providers/amazon/tests/unit/amazon/aws/executors/batch/test_batch_executor.py
+++ 
b/providers/amazon/tests/unit/amazon/aws/executors/batch/test_batch_executor.py
@@ -805,6 +805,7 @@ class TestAwsBatchExecutor:
             task.task_id = f"task_{idx}"
             task.dag_id = "test_dag"
             task.run_id = "test_run"
+            task.hostname = "host"
             task.map_index = -1
             task.pool_slots = 1
             task.priority_weight = 1

Reply via email to