]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
Fix User Policy test failures on dbstore 460/head
authorSoumya Koduri <skoduri@redhat.com>
Wed, 20 Jul 2022 16:26:28 +0000 (21:56 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Wed, 20 Jul 2022 16:26:28 +0000 (21:56 +0530)
Tag User policy tests failing on dbstore as 'fails_on_dbstore'

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
s3tests_boto3/functional/test_iam.py

index a927c9d2cb83d07f6145fdecafaff6f841dd9dc5..bf7236fe9bc94c11ab9e6ddffbaa83fc68a80c7d 100644 (file)
@@ -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)