opencontainers/distribution-spec

Conformance Test: `References teardown` should expect 404 response

northtyphoon opened this issue · 0 comments

After deleting the subject manifest, the registry can trigger cascade deletion and automatically delete the reference manifest. If the test tries to delete the reference manifest again, it should also expect 404 response.

  1. Delete subject manifest

    req = client.NewRequest(reggie.DELETE, "/v2/<name>/manifests/<digest>", reggie.WithDigest(manifests[4].Digest))

  2. Delete the reference manifest again

    req = client.NewRequest(reggie.DELETE, "/v2/<name>/manifests/<reference>",