[conformance] Allow 404 on tag list for management test
shizhMSFT opened this issue · 0 comments
shizhMSFT commented
The management test of conformance test tries to list tags after deleting the last manifest, and the test expect 200 with an empty list.
distribution-spec/conformance/04_management_test.go
Lines 129 to 140 in a47ad51
The test makes sense if the repository is explicitly created. However, some registry providers consider that the repositories are virtual. That is, when the last manifest is deleted from the repository, the repository is considered non-existing. In that case, calling to the tag list API should return 404 since the repository is not found.