Skip to content

s3: test conditional put_object() and delete_object() #673

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

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

Conversation

AliMasarweh
Copy link
Contributor

test coverage for ceph/ceph#63348

  • put_object() with IfMatch and IfNoneMatch
  • delete_object() with IfMatch
  • delete_object() with IfMatchLastModifiedTime and IfMatchSize
  • delete_objects() with <ETag>
  • delete_objects() with <LastModifiedTime>
  • delete_objects() with <Size>

put_object tests are duplicated to test non-versioned and overwrites of a current version
delete_object(s) tests are duplicated to test non-versioned, deletes of a current version, and deletes of a specific version

@AliMasarweh AliMasarweh force-pushed the wip-s3-conditional-write branch 20 times, most recently from f74d07c to 7b7e4a5 Compare July 21, 2025 09:21
@AliMasarweh AliMasarweh force-pushed the wip-s3-conditional-write branch 2 times, most recently from 7ed5d02 to 6ba7bd5 Compare July 21, 2025 14:40
we expected an error if we delete non-existent objects but that is not
true

Signed-off-by: Ali Masarwa <[email protected]>
@AliMasarweh AliMasarweh force-pushed the wip-s3-conditional-write branch from 6ba7bd5 to 6833430 Compare July 21, 2025 14:43
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