ceph / ceph/s3-tests

test_(get/delete)_bucket_encryption_(s3/kms) are expecting error which isn't returned by AWS in default

Open
#613 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
372
Forks
328
PR merge metrics
No merged PRs in 30d

Description

When creating a bucket and immediately after trying to get the bucket_encryption AWS return this default:
```
aws s3 mb s3://jacky-tmp-bucket --region us-east-1
make_bucket: jacky-tmp-bucket
jackyalbo@jalbo-mac noobaa-operator % aws s3api get-bucket-encryption --bucket jacky-tmp-bucket
{
"ServerSideEncryptionConfiguration": {
"Rules": [
{
"ApplyServerSideEncryptionByDefault": {
"SSEAlgorithm": "AES256"
},
"BucketKeyEnabled": false
}
]
}
}
```
but the tests for get_bucket_encryption expect: ServerSideEncryptionConfigurationNotFoundError
This is also true after you delete the bucket encryption - the default will be returned and not an Error

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.