Skip to content

Conversation

@mheler
Copy link

@mheler mheler commented Dec 12, 2025

Add tests to validate the target_by_bucket feature which allows each source bucket to transition objects to a dedicated destination bucket rather than sharing a common target.

New tests:

  • test_lifecycle_cloud_transition_target_by_bucket: validates objects land in bucket-specific targets and performs a restore from target
  • test_lifecycle_cloud_transition_target_by_bucket_multiple_buckets: validates isolation between different source buckets

@soumyakoduri
Copy link
Contributor

Could you also please add a test for simple restore when target_by_bucket is enabled.

Add tests to validate the target_by_bucket feature which allows each
source bucket to transition objects to a dedicated destination bucket
rather than sharing a common target.

New tests:
- test_lifecycle_cloud_transition_target_by_bucket: validates objects
  land in bucket-specific targets without source bucket name prefix
- test_lifecycle_cloud_transition_target_by_bucket_multiple_buckets:
  validates isolation between different source buckets

Each test will perform a restore of the object transitioned.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
@mheler
Copy link
Author

mheler commented Dec 17, 2025

Could you also please add a test for simple restore when target_by_bucket is enabled.

I included it as part of the tests now, but I can separate it out if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants