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

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

Merged
AliMasarweh merged 9 commits into
masterfrom
wip-s3-conditional-write
Jul 28, 2025
Merged

AliMasarweh merged 9 commits into
masterfrom
wip-s3-conditional-write

Conversation

@AliMasarweh

Copy link
Copy Markdown
Member

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 7 times, most recently from 93afdd1 to b4e9ebf Compare July 27, 2025 13:32
@AliMasarweh
AliMasarweh force-pushed the wip-s3-conditional-write branch from b4e9ebf to 8be24ac Compare July 27, 2025 13:33
@AliMasarweh
AliMasarweh merged commit 538dedc into master Jul 28, 2025
@ivancich

Copy link
Copy Markdown
Member

@cbodley : What's our policy for s3-tests PRs. Is a review with approval required? I looked at some other recently merged PRs and they all had a review with an approval.

@cbodley

cbodley commented Jul 31, 2025

Copy link
Copy Markdown
Contributor

@cbodley : What's our policy for s3-tests PRs. Is a review with approval required? I looked at some other recently merged PRs and they all had a review with an approval.

no real policy. i often have to merge my own test prs without review

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.

3 participants