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

Allow 404 on blob deletion in conformance tests #541

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

sudo-bmitch
Copy link
Contributor

Fixes #540.

This allows a 404 on blob deletion for registries that immediately prune blobs on manifest deletion. It also reorders a couple of checks for consistency (404 before 405).

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@rchincha
Copy link
Contributor

Not just the GC case, one could also DELETE a non-existent blob. This looks reasonable.

Copy link
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

LGTM

@mikebrow mikebrow merged commit 11b8e3f into opencontainers:main Jul 18, 2024
4 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-conformance-blob-404 branch July 18, 2024 17:12
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.

Teardown Tests Should Accept 404 Response for Blob Deletion
4 participants