Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/1184.infrastructure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set the persistent integration-test bucket's SSE-B2 default explicitly so encryption-inheritance tests do not depend on the bucket's age.
4 changes: 4 additions & 0 deletions test/integration/persistent_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
from b2sdk.v3.exception import DuplicateBucketName, NonExistentBucket
from b2sdk.v3.testing import BUCKET_NAME_LENGTH, BucketManager

from .helpers import SSE_B2_AES

PERSISTENT_BUCKET_NAME_PREFIX = 'constst'


Expand Down Expand Up @@ -57,6 +59,8 @@ def get_or_create_persistent_bucket(bucket_manager: BucketManager) -> Bucket:
}
],
)
if bucket.default_server_side_encryption != SSE_B2_AES:
bucket = bucket.update(default_server_side_encryption=SSE_B2_AES)
return bucket


Expand Down
Loading