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 d9ed5adbba8 Fix variable name in `exemple_emr_eks` (#62480)
d9ed5adbba8 is described below
commit d9ed5adbba89db04c1700f6419ff6b9995cf1ea3
Author: Vincent <[email protected]>
AuthorDate: Wed Feb 25 15:18:25 2026 -0500
Fix variable name in `exemple_emr_eks` (#62480)
---
providers/amazon/tests/system/amazon/aws/example_emr_eks.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/providers/amazon/tests/system/amazon/aws/example_emr_eks.py
b/providers/amazon/tests/system/amazon/aws/example_emr_eks.py
index 86c59cf6916..2a672bc4657 100644
--- a/providers/amazon/tests/system/amazon/aws/example_emr_eks.py
+++ b/providers/amazon/tests/system/amazon/aws/example_emr_eks.py
@@ -58,7 +58,7 @@ ROLE_ARN_KEY = "ROLE_ARN"
JOB_ROLE_ARN_KEY = "JOB_ROLE_ARN"
JOB_ROLE_NAME_KEY = "JOB_ROLE_NAME"
SUBNETS_KEY = "SUBNETS"
-UPDATE_TRUST_POLICY_WAIT_TIME_KEY = "UPDATE_TRUST_POLICY_WAIT_TIME_KEY"
+UPDATE_TRUST_POLICY_WAIT_TIME_KEY = "UPDATE_TRUST_POLICY_WAIT_TIME"
sys_test_context_task = (
SystemTestContextBuilder()
@@ -66,7 +66,7 @@ sys_test_context_task = (
.add_variable(JOB_ROLE_ARN_KEY)
.add_variable(JOB_ROLE_NAME_KEY)
.add_variable(SUBNETS_KEY, split_string=True)
- .add_variable(UPDATE_TRUST_POLICY_WAIT_TIME_KEY, optional=True,
default_value=10)
+ .add_variable(UPDATE_TRUST_POLICY_WAIT_TIME_KEY, optional=True,
default_value="10")
.build()
)
@@ -177,7 +177,7 @@ def update_trust_policy_execution_role(cluster_name,
cluster_namespace, role_nam
raise RuntimeError(err)
# Wait for IAM changes to propagate to avoid authentication failures
- time.sleep(wait_time)
+ time.sleep(int(wait_time))
@task(trigger_rule=TriggerRule.ALL_DONE)