Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test get_object_attributes #571

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mattbenjamin
Copy link
Contributor

No description provided.

Copy link
Contributor

@cbodley cbodley left a comment

Choose a reason for hiding this comment

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

can i suggest some additional test coverage?

  • non-multipart upload,
  • current version,
  • non-current version,
  • delete marker?
  • pagination of parts (ex MaxParts=1 PartNumberMarker=2),
  • fields not requested by ObjectAttributes are not returned

are there any error paths that are worth testing for?

@cbodley
Copy link
Contributor

cbodley commented Jul 10, 2024

can i suggest some additional test coverage?

and sse-c when we add it: test_encryption_sse_c_method_head is a good example for HeadObject

@cbodley
Copy link
Contributor

cbodley commented Oct 18, 2024

i pushed a branch with extra tests to linuxbox2/s3-tests@wip-get-objattrs...cbodley:s3-tests:wip-get-objattrs

  • multipart upload without checksums
  • multipart upload with a single part
  • pagination of multipart parts
  • non-multipart upload with/without checksum
  • versioned object, current and non-current
  • sse-c encrypted object

i left review comments on ceph/ceph#55259 about the issues that uncovered, mainly around the pagination test test_get_paginated_multipart_object_attributes

mattbenjamin and others added 3 commits November 1, 2024 10:53
Signed-off-by: Matt Benjamin <[email protected]>
there seem to be workloads which assume checksum algorithm can be
omitted from upload-part

Signed-off-by: Matt Benjamin <[email protected]>
* multipart upload without checksums
* multipart upload with a single part
* pagination of multipart parts
* non-multipart upload with/without checksum
* versioned object, current and non-current
* sse-c encrypted object

Signed-off-by: Casey Bodley <[email protected]>
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