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 a11fa2fa5df fix(tests): Use unique S3 bucket name in bedrock 
evaluation system test (#68256)
a11fa2fa5df is described below

commit a11fa2fa5df64ea19a2e8189058356005e6441b9
Author: D. Ferruzzi <[email protected]>
AuthorDate: Tue Jun 9 08:01:00 2026 -0700

    fix(tests): Use unique S3 bucket name in bedrock evaluation system test 
(#68256)
    
    Include env_id in the bucket name to prevent collisions when the test
    runs concurrently (e.g. local run + executor run).  The hardcoded
    bucket name caused ValueError('The key ... already exists') when two
    executions overlapped.
---
 providers/amazon/tests/system/amazon/aws/example_bedrock_evaluation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/providers/amazon/tests/system/amazon/aws/example_bedrock_evaluation.py 
b/providers/amazon/tests/system/amazon/aws/example_bedrock_evaluation.py
index d64700cf02a..01b299b43a3 100644
--- a/providers/amazon/tests/system/amazon/aws/example_bedrock_evaluation.py
+++ b/providers/amazon/tests/system/amazon/aws/example_bedrock_evaluation.py
@@ -55,7 +55,7 @@ with DAG(
     test_context = sys_test_context_task()
     env_id = test_context[ENV_ID_KEY]
     role_arn = test_context[ROLE_ARN_KEY]
-    bucket_name = "airflow-system-test-bedrock-eval"
+    bucket_name = f"{env_id}-bedrock-eval"
 
     # TEST SETUP
     create_bucket = S3CreateBucketOperator(

Reply via email to