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 6b7a4e5f9f Remove unnecessary code in AWS auth manager system test 
(#38330)
6b7a4e5f9f is described below

commit 6b7a4e5f9f844d7b53ed1ae74bef448c99826f04
Author: Vincent <[email protected]>
AuthorDate: Wed Mar 20 14:23:13 2024 -0300

    Remove unnecessary code in AWS auth manager system test (#38330)
---
 .../system/providers/amazon/aws/tests/test_aws_auth_manager.py | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/tests/system/providers/amazon/aws/tests/test_aws_auth_manager.py 
b/tests/system/providers/amazon/aws/tests/test_aws_auth_manager.py
index c3077de490..67f29e8a02 100644
--- a/tests/system/providers/amazon/aws/tests/test_aws_auth_manager.py
+++ b/tests/system/providers/amazon/aws/tests/test_aws_auth_manager.py
@@ -63,7 +63,7 @@ def create_avp_policy_store(env_id):
     description = f"Created by system test TestAwsAuthManager: {env_id}"
     client = boto3.client("verifiedpermissions")
     response = client.create_policy_store(
-        validationSettings={"mode": "OFF"},
+        validationSettings={"mode": "STRICT"},
         description=description,
     )
     policy_store_id = response["policyStoreId"]
@@ -82,14 +82,6 @@ def create_avp_policy_store(env_id):
             },
         )
 
-    client.update_policy_store(
-        policyStoreId=policy_store_id,
-        validationSettings={
-            "mode": "STRICT",
-        },
-        description=description,
-    )
-
     client.create_policy(
         policyStoreId=policy_store_id,
         definition={

Reply via email to