Skip to content

Commit

Permalink
conformance: don't require http 202 for already-deleted manifest config
Browse files Browse the repository at this point in the history
Signed-off-by: wayne warren <[email protected]>
  • Loading branch information
waynr committed Oct 8, 2023
1 parent 6bc8715 commit df1548b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions conformance/02_push_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ var test02Push = func() {
BeNumerically("<", 300),
),
Equal(http.StatusMethodNotAllowed),
Equal(http.StatusNotFound),
))
})

Expand Down
5 changes: 4 additions & 1 deletion conformance/04_management_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@ var test04ContentManagement = func() {
resp, err = client.Do(req)
Expect(err).To(BeNil())
Expect(err).To(BeNil())
Expect(resp.StatusCode()).To(Equal(http.StatusAccepted))
Expect(resp.StatusCode()).To(SatisfyAny(
Equal(http.StatusAccepted),
Equal(http.StatusNotFound),
))
})

g.Specify("GET request to deleted blob URL should yield 404 response", func() {
Expand Down

0 comments on commit df1548b

Please sign in to comment.