From 963359db884de25d44ddd82c473e7c097ce4186f Mon Sep 17 00:00:00 2001 From: Soumya Koduri Date: Wed, 20 Jul 2022 21:56:28 +0530 Subject: [PATCH] Fix User Policy test failures on dbstore Tag User policy tests failing on dbstore as 'fails_on_dbstore' Signed-off-by: Soumya Koduri (cherry picked from commit 5d63ebf83dbdee52d9795943964086c522f736cb) --- s3tests_boto3/functional/test_iam.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/s3tests_boto3/functional/test_iam.py b/s3tests_boto3/functional/test_iam.py index a927c9d..bf7236f 100644 --- a/s3tests_boto3/functional/test_iam.py +++ b/s3tests_boto3/functional/test_iam.py @@ -548,6 +548,7 @@ def test_allow_bucket_actions_in_user_policy(): @attr(assertion='succeeds') @attr('user-policy') @attr('test_of_iam') +@attr('fails_on_dbstore') def test_deny_bucket_actions_in_user_policy(): client = get_iam_client() s3_client = get_alt_client() @@ -630,6 +631,7 @@ def test_allow_object_actions_in_user_policy(): @attr(assertion='succeeds') @attr('user-policy') @attr('test_of_iam') +@attr('fails_on_dbstore') def test_deny_object_actions_in_user_policy(): client = get_iam_client() s3_client_alt = get_alt_client() @@ -712,6 +714,7 @@ def test_allow_multipart_actions_in_user_policy(): @attr(assertion='succeeds') @attr('user-policy') @attr('test_of_iam') +@attr('fails_on_dbstore') def test_deny_multipart_actions_in_user_policy(): client = get_iam_client() s3_client = get_alt_client() @@ -758,6 +761,7 @@ def test_deny_multipart_actions_in_user_policy(): @attr(assertion='succeeds') @attr('user-policy') @attr('test_of_iam') +@attr('fails_on_dbstore') def test_allow_tagging_actions_in_user_policy(): client = get_iam_client() s3_client_alt = get_alt_client() @@ -807,6 +811,7 @@ def test_allow_tagging_actions_in_user_policy(): @attr(assertion='succeeds') @attr('user-policy') @attr('test_of_iam') +@attr('fails_on_dbstore') def test_deny_tagging_actions_in_user_policy(): client = get_iam_client() s3_client = get_alt_client() @@ -862,6 +867,7 @@ def test_deny_tagging_actions_in_user_policy(): @attr(assertion='succeeds') @attr('user-policy') @attr('test_of_iam') +@attr('fails_on_dbstore') def test_verify_conflicting_user_policy_statements(): s3client = get_alt_client() bucket = get_new_bucket(client=s3client) @@ -897,6 +903,7 @@ def test_verify_conflicting_user_policy_statements(): @attr(assertion='succeeds') @attr('user-policy') @attr('test_of_iam') +@attr('fails_on_dbstore') def test_verify_conflicting_user_policies(): s3client = get_alt_client() bucket = get_new_bucket(client=s3client)