s3: add fails_on_aws marker to tests with tenanted bucket names

Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2024-09-06 09:04:57 -04:00
parent aad858679c
commit 22edc91f0a

View file

@ -10576,6 +10576,7 @@ def test_bucketv2_policy_acl():
client.put_bucket_acl(Bucket=bucket_name, ACL='public-read')
@pytest.mark.bucket_policy
@pytest.mark.fails_on_aws
def test_bucket_policy_different_tenant():
bucket_name = get_new_bucket()
client = get_client()
@ -10608,6 +10609,7 @@ def test_bucket_policy_different_tenant():
assert len(response['Contents']) == 1
@pytest.mark.bucket_policy
@pytest.mark.fails_on_aws
def test_bucket_policy_tenanted_bucket():
tenant_client = get_tenant_client()
bucket_name = get_new_bucket(tenant_client)