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

jscheffl 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 6e2634a9eb Bugfix/41067 Fix `test_base_aws.py` (#41104)
6e2634a9eb is described below

commit 6e2634a9ebc62a2950b2823770cc23819685b7b9
Author: Vincent <97131062+vincb...@users.noreply.github.com>
AuthorDate: Mon Jul 29 17:51:18 2024 -0400

    Bugfix/41067 Fix `test_base_aws.py` (#41104)
---
 tests/providers/amazon/aws/operators/test_base_aws.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/providers/amazon/aws/operators/test_base_aws.py 
b/tests/providers/amazon/aws/operators/test_base_aws.py
index ab5f07e429..aed5cda5bc 100644
--- a/tests/providers/amazon/aws/operators/test_base_aws.py
+++ b/tests/providers/amazon/aws/operators/test_base_aws.py
@@ -114,7 +114,7 @@ class TestAwsBaseOperator:
         ],
     )
     def test_execute(self, op_kwargs, dag_maker):
-        with dag_maker("test_aws_base_operator"):
+        with dag_maker("test_aws_base_operator", serialized=True):
             FakeS3Operator(task_id="fake-task-id", **op_kwargs)
 
         dagrun = dag_maker.create_dagrun(execution_date=timezone.utcnow())
@@ -189,7 +189,7 @@ class TestAwsBaseOperator:
     )
     @pytest.mark.db_test
     def test_region_in_partial_operator(self, region, region_name, 
expected_region_name, dag_maker):
-        with dag_maker("test_region_in_partial_operator"):
+        with dag_maker("test_region_in_partial_operator", serialized=True):
             FakeS3Operator.partial(
                 task_id="fake-task-id",
                 region=region,
@@ -205,7 +205,7 @@ class TestAwsBaseOperator:
 
     @pytest.mark.db_test
     def test_ambiguous_region_in_partial_operator(self, dag_maker):
-        with dag_maker("test_ambiguous_region_in_partial_operator"):
+        with dag_maker("test_ambiguous_region_in_partial_operator", 
serialized=True):
             FakeS3Operator.partial(
                 task_id="fake-task-id",
                 region="eu-west-1",

Reply via email to