Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.

add test_object_copy_16m to test refcounting of tail objects - #473

Merged
alimaredia merged 1 commit into
ceph:masterfrom
cbodley:wip-copyobj-tails
Oct 6, 2022
Merged

alimaredia merged 1 commit into
ceph:masterfrom
cbodley:wip-copyobj-tails

Conversation

@cbodley

@cbodley cbodley commented Sep 30, 2022

Copy link
Copy Markdown
Contributor

i don't think any of our CopyObj test cases were large enough to have tail objects, so weren't exercising our tail object ref ounting strategy

Comment thread s3tests_boto3/functional/test_s3.py Outdated
key2 = 'obj2'
client.copy_object(Bucket=bucket_name, Key=key2, CopySource=copy_source)
response = client.get_object(Bucket=bucket_name, Key=key2)
eq(response['contentlength'], 16*1024*1024)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbodley contentlength in response should be ContentLength like the above test.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wups, thanks!

i don't think any of our CopyObj test cases were large enough to have
tail objects, so weren't exercising our tail object ref counting
strategy

Signed-off-by: Casey Bodley <[email protected]>
@cbodley
cbodley force-pushed the wip-copyobj-tails branch from ef1a532 to defb8eb Compare October 5, 2022 18:37
@alimaredia
alimaredia self-requested a review October 6, 2022 20:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants