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

s3: tests for wildcard support in conditional read - #681

Open
sungjoon-koh wants to merge 1 commit into
ceph:masterfrom
sungjoon-koh:add-conditional-read-test
Open

sungjoon-koh wants to merge 1 commit into
ceph:masterfrom
sungjoon-koh:add-conditional-read-test

Conversation

@sungjoon-koh

Copy link
Copy Markdown
Contributor

Add test for wildcard '*' support in conditional read.
ceph pr: ceph/ceph#64428

fallocate test --len 10MB
aws s3api create-bucket --bucket test
aws s3api put-object --bucket test --key test --body test

# 412 -> 200
aws s3api get-object --bucket test --key test --if-match "*" test-res

# 200 -> 304
aws s3api get-object --bucket test --key test --if-none-match "*" test-res

# 412 -> 304
aws s3api get-object --bucket test --key test --if-none-match "*" --if-match "*" test-res

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.

1 participant